Parcourir la source

[3687] Trivial fix: typo in the pid_file.cc

Marcin Siodelski il y a 10 ans
Parent
commit
27f9de2192
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib/util/pid_file.cc

+ 1 - 1
src/lib/util/pid_file.cc

@@ -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_ << "'");
     }