diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-14 01:29:01 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-14 01:29:01 +0200 |
commit | c783cf78af04e898a20f69f28b885f7c0285020c (patch) | |
tree | 9c1252add819d20eabae246e724b103c23690143 /debianutils/start_stop_daemon.c | |
parent | 837913fc548fe752e3a1bc13af9b43f50d8f278a (diff) | |
download | busybox-w32-c783cf78af04e898a20f69f28b885f7c0285020c.tar.gz busybox-w32-c783cf78af04e898a20f69f28b885f7c0285020c.tar.bz2 busybox-w32-c783cf78af04e898a20f69f28b885f7c0285020c.zip |
tart_stop_daemon: another fix to disabled OLDER_VERSION_OF_X code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-rw-r--r-- | debianutils/start_stop_daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index 9fa092d66..43b6fca26 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) | |||
192 | return 1; | 192 | return 1; |
193 | return 0; | 193 | return 0; |
194 | } | 194 | } |
195 | #endif | 195 | #else |
196 | |||
197 | static int pid_is_exec(pid_t pid) | 196 | static int pid_is_exec(pid_t pid) |
198 | { | 197 | { |
199 | ssize_t bytes; | 198 | ssize_t bytes; |
@@ -217,6 +216,7 @@ static int pid_is_exec(pid_t pid) | |||
217 | } | 216 | } |
218 | return 0; | 217 | return 0; |
219 | } | 218 | } |
219 | #endif | ||
220 | 220 | ||
221 | static int pid_is_name(pid_t pid) | 221 | static int pid_is_name(pid_t pid) |
222 | { | 222 | { |