IMP(shellcheck): quote variables (SC2086)

This commit is contained in:
Thibault Ayanides
2020-12-04 15:04:22 +01:00
parent 106fa5fc8a
commit eaf56ca25e
55 changed files with 107 additions and 107 deletions

View File

@ -37,7 +37,7 @@ audit() {
done
done
if [ $ERRORS = 0 ]; then
if [ "$ERRORS" = 0 ]; then
ok "permission $PERMISSIONS set on .netrc users files"
fi
@ -54,7 +54,7 @@ apply() {
ok "$FILE has correct permissions"
else
warn "$FILE permissions were not set to $PERMISSIONS"
chmod 600 $FILE
chmod 600 "$FILE"
fi
fi
done