summaryrefslogtreecommitdiff
path: root/src/sysexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysexec.c')
-rw-r--r--src/sysexec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sysexec.c b/src/sysexec.c
index 3522c11..dbf4bbb 100644
--- a/src/sysexec.c
+++ b/src/sysexec.c
@@ -71,12 +71,12 @@ int uanytun_exec(const char* script, char* const argv[], char* const evp[])
fd = open("/dev/null",O_RDWR); // stdin
if(fd == -1)
- log_printf(WARNING, "can't open stdin");
+ log_printf(WARNING, "can't open stdin");
else {
if(dup(fd) == -1) // stdout
- log_printf(WARNING, "can't open stdout");
+ log_printf(WARNING, "can't open stdout");
if(dup(fd) == -1) // stderr
- log_printf(WARNING, "can't open stderr");
+ log_printf(WARNING, "can't open stderr");
}
execve(script, argv, evp);
// if execve returns, an error occurred, but logging doesn't work