From 7ff56624f84d1616470ab6cbeab17c1367e775d7 Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Tue, 29 Mar 2005 04:23:56 +0200 Subject: [PATCH] [PATCH] correct correction for error path for PROGRAM execution --- udev_rules.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.39.5