Return SS_RC_INITIALIZATION_FAILED if pid file exists

Let charon return SS_RC_INITIALIZATION_FAILED if an existing pid file is found.
Starter only terminates itself if the result code of the daemon is a valid
SS_RC_* value.
This commit is contained in:
Adrian-Ken Rueegsegger 2013-01-23 15:38:28 +01:00 committed by Tobias Brunner
parent 4eb09d14e2
commit a25047e412
1 changed files with 0 additions and 1 deletions

View File

@ -401,7 +401,6 @@ int main(int argc, char *argv[])
if (check_pidfile())
{
DBG1(DBG_DMN, "charon already running (\""PID_FILE"\" exists)");
status = -1;
goto deinit;
}