Fix style issue

This commit is contained in:
sin 2014-03-06 15:06:47 +00:00
parent a32345028e
commit a3e437c7ef

View File

@ -61,7 +61,7 @@ main(int argc, char *argv[])
if (!(dp = opendir("/proc")))
eprintf("opendir /proc:");
while ((entry = readdir(dp))) {
if (!pidfile(entry->d_name))
if (pidfile(entry->d_name) == 0)
continue;
pid = estrtol(entry->d_name, 10);
if (pid == 1 || pid == getpid() ||