diff options
author | Christian Pointner <equinox@anytun.org> | 2009-02-20 15:44:05 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-02-20 15:44:05 +0000 |
commit | 156e593dccd90abb2a743c43d1384bb0912d5bda (patch) | |
tree | 1065f736873e2a323768e09cf8020c7fa26d23cb /src/sysexec.h | |
parent | fixed compat mode bug (diff) |
tested with gcc pedantic -> cleanup
Diffstat (limited to 'src/sysexec.h')
-rw-r--r-- | src/sysexec.h | 2 |
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(); |