summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-08-09 10:56:57 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-24 09:23:32 -0400
commita0bb1ff6ab0be8faa7284aec3f7f93e31e8578d9 (patch)
tree63b64890917cb9134929c634e64b5fa36722ce6c /src/or/config.c
parentb4963da987f0b374a2bbfd866e1a36358b1e750f (diff)
downloadtor-a0bb1ff6ab0be8faa7284aec3f7f93e31e8578d9.tar.gz
tor-a0bb1ff6ab0be8faa7284aec3f7f93e31e8578d9.zip
Also disable spawning on Sandbox.
This isn't a functional change, but it makes our logic more clear, and catches bugs earlier.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index e282a6cc60..30853724e4 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1596,7 +1596,7 @@ options_act(const or_options_t *old_options)
const int transition_affects_guards =
old_options && options_transition_affects_guards(old_options, options);
- if (options->NoExec) {
+ if (options->NoExec || options->Sandbox) {
tor_disable_spawning_background_processes();
}