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