diff --git a/ola/AutoStart.cpp b/ola/AutoStart.cpp index 89fa51f115..bfff910513 100644 --- a/ola/AutoStart.cpp +++ b/ola/AutoStart.cpp @@ -110,11 +110,7 @@ TCPSocket *ConnectToServer(unsigned short port) { // Try to start the server, we pass --daemon (fork into background) and // --syslog (log to syslog). execlp("olad", "olad", "--daemon", "--syslog", -#ifdef __FreeBSD__ reinterpret_cast(0)); -#else - reinterpret_cast(NULL)); -#endif // __FreeBSD__ OLA_WARN << "Failed to exec: " << strerror(errno); _exit(1); }