From bb33710e45c6e3b4f6594b8c35c79e17c6e5466a Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 22 Feb 2009 16:00:00 +0000 Subject: remove useless log priorities CRIT,EMERG,ALERT --- src/sysexec.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sysexec.hpp') 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; } -- cgit v1.2.3