From 1caca34aa67b2f267d0049d17e5430ca9c58ac3f Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 2 Aug 2007 10:14:29 +0000 Subject: start_stop_daemon: NOMMU fixes, round 2 by Alex Landau dhcpc: fixed "ifupdown + udhcpc_without_pidpile_creation" bug --- libbb/pidfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libbb') diff --git a/libbb/pidfile.c b/libbb/pidfile.c index 79c3108..50af91f 100644 --- a/libbb/pidfile.c +++ b/libbb/pidfile.c @@ -6,9 +6,11 @@ * * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ + +/* Override ENABLE_FEATURE_PIDFILE */ +#define WANT_PIDFILE 1 #include "libbb.h" -#if ENABLE_FEATURE_PIDFILE int write_pidfile(const char *path) { int pid_fd; @@ -26,4 +28,3 @@ int write_pidfile(const char *path) close(pid_fd); return 1; } -#endif -- cgit v1.1