summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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):"