start_stop_daemon: NOMMU fixes, round 2 by Alex Landau <landau_alex@yahoo.com>

dhcpc: fixed "ifupdown + udhcpc_without_pidpile_creation" bug
This commit is contained in:
Denis Vlasenko
2007-08-02 10:14:29 +00:00
parent fc77eb54e7
commit 1caca34aa6
5 changed files with 20 additions and 14 deletions

View File

@@ -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