summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/daemon.hpp4
-rw-r--r--src/sysExec.cpp2
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);
}