mirror of synced 2026-11-19 23:06:22 +03:00

Fix handling of S6_VERBOSITY environment variable

Signed-off-by: Laurent Bercot <ska@appnovation.com>
This commit is contained in:
Laurent Bercot authored and Laurent Bercot committed 2022-08-26 15:47:53 +00:00
1 parent 1af55a1718
commit dca178bb2f
1 file changed
+1 -2
@@ -9,9 +9,8 @@ fi
if v=`printcontenv S6_VERBOSITY` && s6-test "$v" =~ '^[[:digit:]]+$' ; then : ; else
v=2
cv=$((v - 1))
fi
cv=$((v - 1))
if test "$cv" -lt 0 ; then
cv=0
fi