Fix handling of S6_VERBOSITY environment variable
Signed-off-by: Laurent Bercot <ska@appnovation.com>
This commit is contained in:
1 parent
1af55a1718
commit
dca178bb2f
1 file changed
+1
-2
+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
|
||||
|
||||
Reference in new issue
Block a user