summaryrefslogtreecommitdiff
path: root/src/sysexec.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-20 15:44:05 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-20 15:44:05 +0000
commit156e593dccd90abb2a743c43d1384bb0912d5bda (patch)
tree1065f736873e2a323768e09cf8020c7fa26d23cb /src/sysexec.h
parentfixed compat mode bug (diff)
tested with gcc pedantic -> cleanup
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();