Spacing fixes
This commit is contained in:
parent
21abe9821c
commit
20af890ac2
@ -314,13 +314,13 @@ get_pid(const char *pidfile, bool quiet)
|
|||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if ((fp = fopen(pidfile, "r")) == NULL) {
|
if ((fp = fopen(pidfile, "r")) == NULL) {
|
||||||
if(!quiet)
|
if (!quiet)
|
||||||
eerror("%s: fopen `%s': %s", applet, pidfile, strerror(errno));
|
eerror("%s: fopen `%s': %s", applet, pidfile, strerror(errno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fscanf(fp, "%d", &pid) != 1) {
|
if (fscanf(fp, "%d", &pid) != 1) {
|
||||||
if(!quiet)
|
if (!quiet)
|
||||||
eerror("%s: no pid found in `%s'", applet, pidfile);
|
eerror("%s: no pid found in `%s'", applet, pidfile);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user