mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-04-20 00:36:37 +02:00
203a2ec8b8
On BSD platform, using "daemon -r" may fool the status check that ctrld is still running while it was terminated unexpectedly. This may cause the check in newSocketControlClient hangs forever. Using a sane timeout value of 30 seconds, which should be enough for the ctrld service started in normal condition.