Fix style issue
This commit is contained in:
parent
a32345028e
commit
a3e437c7ef
@ -61,7 +61,7 @@ main(int argc, char *argv[])
|
|||||||
if (!(dp = opendir("/proc")))
|
if (!(dp = opendir("/proc")))
|
||||||
eprintf("opendir /proc:");
|
eprintf("opendir /proc:");
|
||||||
while ((entry = readdir(dp))) {
|
while ((entry = readdir(dp))) {
|
||||||
if (!pidfile(entry->d_name))
|
if (pidfile(entry->d_name) == 0)
|
||||||
continue;
|
continue;
|
||||||
pid = estrtol(entry->d_name, 10);
|
pid = estrtol(entry->d_name, 10);
|
||||||
if (pid == 1 || pid == getpid() ||
|
if (pid == 1 || pid == getpid() ||
|
||||||
|
Loading…
Reference in New Issue
Block a user