commit a3e437c7ef0fab5197c53549a22fbc0db5c2570d
parent a32345028e7ff5899f39836f9424102af07fea0e
Author: sin <sin@2f30.org>
Date: Thu, 6 Mar 2014 15:06:47 +0000
Fix style issue
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/killall5.c b/killall5.c
@@ -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() ||