mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-24 19:44:35 +02:00
IMP(shellcheck): quote variables (SC2086)
This commit is contained in:
@ -36,7 +36,7 @@ apply() {
|
||||
warn "Some accounts have an empty password"
|
||||
for ACCOUNT in $RESULT; do
|
||||
info "Locking $ACCOUNT"
|
||||
passwd -l $ACCOUNT >/dev/null 2>&1
|
||||
passwd -l "$ACCOUNT" >/dev/null 2>&1
|
||||
done
|
||||
else
|
||||
ok "All accounts have a password"
|
||||
|
Reference in New Issue
Block a user