public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] firewall: Completely throw away any output when restarting Tor
@ 2025-07-29 14:38 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2025-07-29 14:38 UTC (permalink / raw)
  To: development; +Cc: Michael Tremer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 src/initscripts/system/firewall | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/initscripts/system/firewall b/src/initscripts/system/firewall
index 304c7c3cc..45b4bd56a 100644
--- a/src/initscripts/system/firewall
+++ b/src/initscripts/system/firewall
@@ -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
-- 
2.47.2



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-07-29 14:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-29 14:38 [PATCH] firewall: Completely throw away any output when restarting Tor Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox