diff options
author | Flex <frostynova@gmail.com> | 2011-09-02 11:04:23 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-09-02 11:32:30 -0500 |
commit | 6d5b452ef5ef335821bd86eb9ad574acaa774f7b (patch) | |
tree | 9a6be14546e10ee74fca1eedda5fa295402d68ee | |
parent | 7a6dbedf38e1eeffcbb36b7d77a67c56566d0409 (diff) |
Do not ignore return code for custom script functions
X-Gentoo-Bug: 380317
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=380317
-rw-r--r-- | src/rc/runscript.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c index 8278f5b3..07bcfe77 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -1346,7 +1346,7 @@ runscript(int argc, char **argv) strerror(errno)); unhotplug(); } else - svc_exec(optarg, NULL); + retval = svc_exec(optarg, NULL); /* We should ensure this list is empty after * an action is done */ |