summaryrefslogtreecommitdiff
path: root/src/sysexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysexec.h')
-rw-r--r--src/sysexec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysexec.h b/src/sysexec.h
index 5021392..07cac2c 100644
--- a/src/sysexec.h
+++ b/src/sysexec.h
@@ -38,7 +38,7 @@
int exec_script(const char* script, const char* ifname)
{
if(!script || !ifname)
- return;
+ return -1;
pid_t pid;
pid = fork();