summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-10 14:33:24 +0200
committerHolger Levsen <holger@layer-acht.org>2015-04-11 15:08:54 +0200
commitbb7291488fe826ea8745653146bc62386035f4bd (patch)
treefc0a982a4752c7bca15a9c40fd497536856a0a73
parent2952086e79e60e15bda8101dd9b6bd76af978aee (diff)
downloadjenkins.debian.net-bb7291488fe826ea8745653146bc62386035f4bd.tar.xz
reproducible: maintenance: fix typo
-rwxr-xr-xbin/reproducible_maintenance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 32ca96c5..9b8221d7 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -224,7 +224,7 @@ fi
# find + chmod files with bad permissions
BADPERMS=$(find /var/lib/jenkins/userContent/{buildinfo,dbd,rbuild,artifacts,unstable,experimental,testing,rb-pkg} ! -perm 644 -type f)
-if [ ! -x "$BADPERMS" ] ; then
+if [ ! -z "$BADPERMS" ] ; then
DIRTY=true
echo
echo "Warning: Found files with bad permissions (!=644):"