]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
firewall: Completely throw away any output when restarting Tor
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 29 Jul 2025 14:38:20 +0000 (14:38 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 4 Aug 2025 15:43:45 +0000 (15:43 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/firewall

index 304c7c3cc98d8396f1768d9f47783a322e747c81..45b4bd56af048a60877f4ecd738455a547c03b39 100644 (file)
@@ -434,7 +434,7 @@ iptables_init() {
 
        # If a Tor relay is enabled apply firewall rules
        if [ "${TOR_RELAY_ENABLED}" = "on" -a -n "${TOR_RELAY_PORT}" ]; then
-               /usr/local/bin/torctrl restart 1> /dev/null
+               /usr/local/bin/torctrl restart &>/dev/null
        fi
 
        # POLICY CHAIN