diff options
Diffstat (limited to 'package/network/services/hostapd/patches/100-daemonize_fix.patch')
-rw-r--r-- | package/network/services/hostapd/patches/100-daemonize_fix.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/hostapd/patches/100-daemonize_fix.patch b/package/network/services/hostapd/patches/100-daemonize_fix.patch index fad8466..0389406 100644 --- a/package/network/services/hostapd/patches/100-daemonize_fix.patch +++ b/package/network/services/hostapd/patches/100-daemonize_fix.patch @@ -60,13 +60,13 @@ + if (chdir("/") < 0) return -1; - } -- + - return 0; -} -#else /* __APPLE__ */ -#define os_daemon daemon -#endif /* __APPLE__ */ - +- - -int os_daemonize(const char *pid_file) -{ |