Fresh pull from upstream
[librecmc/librecmc.git] / package / network / services / hostapd / patches / 100-daemonize_fix.patch
index 0389406a98a11a9eb4d5df64a30896e57dea103b..fad84669a6b646d39d18d0381c0d98b7e1fd1e76 100644 (file)
 +      if (chdir("/") < 0)
                return -1;
 -      }
+-
 -      return 0;
 -}
 -#else /* __APPLE__ */
 -#define os_daemon daemon
 -#endif /* __APPLE__ */
--
 -
 -int os_daemonize(const char *pid_file)
 -{