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
This commit is contained in:
Flex 2011-09-02 11:04:23 -05:00 committed by William Hubbs
parent 7a6dbedf38
commit 6d5b452ef5

View File

@ -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 */