|
@@ -249,7 +249,7 @@ main (int argc, char **argv)
|
|
|
|
|
|
|
|
/* Ignore self */
|
|
/* Ignore self */
|
|
|
if ((usepid && mypid == procpid) ||
|
|
if ((usepid && mypid == procpid) ||
|
|
|
- (!usepid && ((ret = stat_exe(procpid, &statbuf) != -1) && statbuf.st_dev == mydev && statbuf.st_ino == myino) ||
|
|
|
|
|
|
|
+ ((!usepid && ((ret = stat_exe(procpid, &statbuf) != -1) && statbuf.st_dev == mydev && statbuf.st_ino == myino)) ||
|
|
|
(ret == -1 && errno == ENOENT))) {
|
|
(ret == -1 && errno == ENOENT))) {
|
|
|
if (verbose >= 3)
|
|
if (verbose >= 3)
|
|
|
printf("not considering - is myself or gone\n");
|
|
printf("not considering - is myself or gone\n");
|