From ed0002926a179bec586bdfb01c518c618ac3864a Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 29 Mar 2023 07:46:43 +0200 Subject: [PATCH] base: disable 'abort on errors' in tor setup script the 'set -e' prevents it from actually updating the config file and restarting when a new conf file has different contents. --- base/tor.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/base/tor.sh b/base/tor.sh index 0e44244..4ee3ad0 100755 --- a/base/tor.sh +++ b/base/tor.sh @@ -1,6 +1,5 @@ #!/bin/sh # the script installs tor and its config file from files/etc/tor/torrc. -set -e xbps-install -y tor conffile=etc/tor/torrc test -f /$conffile && diff /$conffile files/$conffile