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:
parent
7a6dbedf38
commit
6d5b452ef5
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user