diff options
Diffstat (limited to 'debianutils/start_stop_daemon.c')
-rw-r--r-- | debianutils/start_stop_daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index e0c8f2d..dcff1dd 100644 --- a/debianutils/start_stop_daemon.c +++ b/debianutils/start_stop_daemon.c @@ -45,7 +45,7 @@ static int pid_is_exec(pid_t pid, const char *name) sprintf(buf, "/proc/%d/exe", pid); execbuf = xstrdup(name); readlink(buf, execbuf, strlen(name)+1); - + equal = ! strcmp(execbuf, name); if (ENABLE_FEATURE_CLEAN_UP) free(execbuf); |