Skip to content

Commit

Permalink
Merge f10d151 into 0b27b6e
Browse files Browse the repository at this point in the history
  • Loading branch information
neheb committed Mar 27, 2024
2 parents 0b27b6e + f10d151 commit d54d417
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ola/AutoStart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ 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<char*>(0));
#if __cplusplus >= 201103L
nullptr);
#else
reinterpret_cast<char*>(NULL));
#endif // __FreeBSD__
#endif // __cplusplus >= 201103L
OLA_WARN << "Failed to exec: " << strerror(errno);
_exit(1);
}
Expand Down

0 comments on commit d54d417

Please sign in to comment.