Skip to content

Commit e51eb96

Browse files
committed
initialize unused variables in prune_files
1 parent 7181a8e commit e51eb96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

shared/bin/prune_files.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ if ( [[ -z "$THRESHOLD_PCT" ]] || [[ ! "$THRESHOLD_PCT" =~ $INT_RE ]] || ! (( "$
6464
exit 1
6565
fi
6666

67+
[[ -z "$THRESHOLD_PCT" ]] && THRESHOLD_PCT=0
68+
[[ -z "$MAXSIZE_GB" ]] && MAXSIZE_GB=0
69+
6770
while true ; do
6871

6972
# check initial disk capacity

0 commit comments

Comments
 (0)