From: kay.sievers@vrfy.org Date: Tue, 29 Mar 2005 02:23:56 +0000 (+0200) Subject: [PATCH] correct correction for error path for PROGRAM execution X-Git-Tag: 057~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ff56624f84d1616470ab6cbeab17c1367e775d7;p=systemd [PATCH] correct correction for error path for PROGRAM execution --- diff --git a/udev_rules.c b/udev_rules.c index 9a0ee833..2b5c411d 100644 --- a/udev_rules.c +++ b/udev_rules.c @@ -415,9 +415,8 @@ static int execute_program(struct udevice *udev, const char *path, char *value, dup2(fds[1], STDOUT_FILENO); retval = execv(arg, argv); - err(KEY_PROGRAM " execution of '%s' failed", path); - retval = -1; - break; + err("exec of program failed"); + _exit(1); case -1: err("fork of '%s' failed", path); retval = -1;