diff --git a/daemon/src/fileutils.cpp b/daemon/src/fileutils.cpp index dab0a6e3f13bbb728c62ae9c3beb1070f729c0b8..744d002fb99c47c17e81cebe93c433aa4fb20d22 100644 --- a/daemon/src/fileutils.cpp +++ b/daemon/src/fileutils.cpp @@ -83,7 +83,9 @@ bool create_pidfile() std::string pidfile = path + "/" PIDFILE; FILE *fp = fopen(pidfile.c_str(),"r"); - if (fp) { // PID file exists. Check the former process still alive or not. If alive, give user a hint. + if (fp) { + // PID file exists. Check if the former process is still alive or + // not. If alive, give user a hint. int oldPid; if (fscanf(fp, "%d", &oldPid) != 1) {