Commit 727a260a authored by Roger Dingledine's avatar Roger Dingledine
Browse files

prevent assert failure on -HUP when options->PidFile==NULL

parent 4d9eabfe
......@@ -292,6 +292,7 @@ int getconfig(int argc, char **argv, or_options_t *options) {
argc = backup_argc;
/* record some previous values, so we can fail if they change */
previous_pidfile = tor_strdup(options->PidFile);
previous_runasdaemon = options->RunAsDaemon;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment