summaryrefslogtreecommitdiff
path: root/tcwg-cleanup-stale-containers.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2016-11-11 05:14:16 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2016-11-11 05:14:16 +0000
commitdb3beb8262f73a0edd2cad6f13cfddda1029f778 (patch)
tree43fa40f11e935ae96cc24e104b809ba1c1917311 /tcwg-cleanup-stale-containers.sh
parent37af4954365ee745bd83844ee178ead3f7747bfc (diff)
tcwg-cleanup-stale-containers: Remove unnecessary restriction
Change-Id: I9a763abb102ac33eae9a55fa36bd6754ca7eb61e
Diffstat (limited to 'tcwg-cleanup-stale-containers.sh')
-rwxr-xr-xtcwg-cleanup-stale-containers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-cleanup-stale-containers.sh b/tcwg-cleanup-stale-containers.sh
index 9da6445f..154b1ce5 100755
--- a/tcwg-cleanup-stale-containers.sh
+++ b/tcwg-cleanup-stale-containers.sh
@@ -22,7 +22,7 @@ if $verbose; then
set -x
fi
-if [ "$hours" -lt "1" ]; then
+if [ "$hours" -lt "0" ]; then
echo "ERROR: Refusing to delete containers that are $hours hours old"
exit 1
fi