chiark / gitweb /
[PATCH] correct correction for error path for PROGRAM execution
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Tue, 29 Mar 2005 02:23:56 +0000 (04:23 +0200)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:55:00 +0000 (23:55 -0700)
udev_rules.c

index 9a0ee83..2b5c411 100644 (file)
@@ -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;