summaryrefslogtreecommitdiff
path: root/udev_rules.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_rules.c')
-rw-r--r--udev_rules.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/udev_rules.c b/udev_rules.c
index 9a0ee833e2..2b5c411d96 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;