commit 07e788749f5e3602c450a4b74e039988833dbbde
parent 01f01ed67621df55ff18d70d09ba47846f3cdf03
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date: Mon, 14 Dec 2020 15:13:19 +0100
daemons should not use stdin, which can make script buggy
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/templates/generic/root/etc/runit/common b/templates/generic/root/etc/runit/common
@@ -46,6 +46,7 @@ iptables()
set -e
exec 2>&1
+exec <&-
# not using cut because ps prints a header, and option to
# avoid that "feature" is not standard. Other alternative