summaryrefslogtreecommitdiff
path: root/debianutils/start_stop_daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'debianutils/start_stop_daemon.c')
-rw-r--r--debianutils/start_stop_daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c
index 9fa092d..43b6fca 100644
--- a/debianutils/start_stop_daemon.c
+++ b/debianutils/start_stop_daemon.c
@@ -192,8 +192,7 @@ static int pid_is_exec(pid_t pid)
return 1;
return 0;
}
-#endif
-
+#else
static int pid_is_exec(pid_t pid)
{
ssize_t bytes;
@@ -217,6 +216,7 @@ static int pid_is_exec(pid_t pid)
}
return 0;
}
+#endif
static int pid_is_name(pid_t pid)
{