summaryrefslogtreecommitdiff
path: root/src/sysexec.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysexec.hpp')
-rw-r--r--src/sysexec.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysexec.hpp b/src/sysexec.hpp
index 9de28ec..90bde90 100644
--- a/src/sysexec.hpp
+++ b/src/sysexec.hpp
@@ -53,7 +53,7 @@ int execScript(std::string const& script, std::string const& ifname, std::string
}
execl("/bin/sh", "/bin/sh", script.c_str(), ifname.c_str(), ifnode.c_str(), (char*)NULL);
// if execl return, an error occurred
- cLog.msg(Log::PRIO_ERR) << "error on executing script: " << AnytunErrno(errno);
+ cLog.msg(Log::PRIO_ERROR) << "error on executing script: " << AnytunErrno(errno);
return -1;
}
int status = 0;
@@ -63,7 +63,7 @@ int execScript(std::string const& script, std::string const& ifname, std::string
else if(WIFSIGNALED(status))
cLog.msg(Log::PRIO_NOTICE) << "script '" << script << "' terminated after signal " << WTERMSIG(status);
else
- cLog.msg(Log::PRIO_ERR) << "executing script: unkown error";
+ cLog.msg(Log::PRIO_ERROR) << "executing script: unkown error";
return status;
}