diff options
author | Christian Pointner <equinox@anytun.org> | 2009-12-14 01:18:16 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-12-14 01:18:16 +0000 |
commit | 69ef9fc6b08d7cdaaea16e3951a75223ac6c595d (patch) | |
tree | a9eb69dac653fe2307fafdcdd660d0bd5d5377f5 /src | |
parent | removed common stuff (moved to repo anytun-common) (diff) |
fixed spelling error unkown != unknown
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon.hpp | 4 | ||||
-rw-r--r-- | src/sysExec.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon.hpp b/src/daemon.hpp index 04834ca..d4002ec 100644 --- a/src/daemon.hpp +++ b/src/daemon.hpp @@ -59,7 +59,7 @@ public: pw_ = getpwnam(username.c_str()); if(!pw_) - AnytunError::throwErr() << "unkown user " << username; + AnytunError::throwErr() << "unknown user " << username; if(groupname != "") gr_ = getgrnam(groupname.c_str()); @@ -67,7 +67,7 @@ public: gr_ = getgrgid(pw_->pw_gid); if(!gr_) - AnytunError::throwErr() << "unkown group " << groupname; + AnytunError::throwErr() << "unknown group " << groupname; } void drop() diff --git a/src/sysExec.cpp b/src/sysExec.cpp index 49c0cae..fc806fd 100644 --- a/src/sysExec.cpp +++ b/src/sysExec.cpp @@ -151,7 +151,7 @@ void waitForScript(std::string const& script, pid_t pid, int pipefd) else if(WIFSIGNALED(status)) cLog.msg(Log::PRIO_NOTICE) << "script '" << script << "' terminated after signal " << WTERMSIG(status); else - cLog.msg(Log::PRIO_ERROR) << "executing script '" << script << "': unkown error"; + cLog.msg(Log::PRIO_ERROR) << "executing script '" << script << "': unknown error"; close(pipefd); } |