tart_stop_daemon: another fix to disabled OLDER_VERSION_OF_X code
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 13 Apr 2018 23:29:01 +0000 (01:29 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 13 Apr 2018 23:29:01 +0000 (01:29 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
debianutils/start_stop_daemon.c

index 9fa092d66f568036950a7e44ae6601674726da45..43b6fca260429187d758733d334ec09818cea049 100644 (file)
@@ -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)
 {