aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/runscript.c2
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 */