]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3687] Trivial fix: typo in the pid_file.cc
authorMarcin Siodelski <marcin@isc.org>
Wed, 28 Jan 2015 19:45:30 +0000 (20:45 +0100)
committerMarcin Siodelski <marcin@isc.org>
Wed, 28 Jan 2015 19:45:30 +0000 (20:45 +0100)
src/lib/util/pid_file.cc

index 05a860d44153375874b80fd6a4d7d8e760e16276..61be59ef3907862dffe2440d01d5dbaed6dd7316 100644 (file)
@@ -79,7 +79,7 @@ PIDFile::write(int pid) const {
     bool good = fs.good();
     fs.close();
 
-    if (!good()) {
+    if (!good) {
         isc_throw(PIDFileError, "Unable to write to PID file '"
                   << filename_ << "'");
     }