projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hostapd: backport support for sending debug messages to the syslog
[openwrt/openwrt.git]
/
package
/
network
/
services
/
hostapd
/
patches
/
100-daemonize_fix.patch
diff --git
a/package/network/services/hostapd/patches/100-daemonize_fix.patch
b/package/network/services/hostapd/patches/100-daemonize_fix.patch
index 0389406a98a11a9eb4d5df64a30896e57dea103b..fad84669a6b646d39d18d0381c0d98b7e1fd1e76 100644
(file)
--- 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)
-{