|
@@ -1280,14 +1280,14 @@ options_act(or_options_t *old_options)
|
|
|
return 0;
|
|
|
|
|
|
|
|
|
- if (running_tor && options->RunAsDaemon) {
|
|
|
+ if (options->RunAsDaemon) {
|
|
|
|
|
|
finish_daemon(options->DataDirectory);
|
|
|
}
|
|
|
|
|
|
|
|
|
* will log a warning */
|
|
|
- if (running_tor && options->PidFile)
|
|
|
+ if (options->PidFile)
|
|
|
write_pidfile(options->PidFile);
|
|
|
|
|
|
|