Skip to content

Commit 3bd4078

Browse files
fix: allow set-hardening-level option usage (#232)
Was broken since 2020, fixes #230
1 parent a45aa40 commit 3bd4078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bin/hardening.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ while [[ $# -gt 0 ]]; do
192192
done
193193

194194
# if no RUN_MODE was passed, usage and quit
195-
if [ "$AUDIT" -eq 0 ] && [ "$AUDIT_ALL" -eq 0 ] && [ "$AUDIT_ALL_ENABLE_PASSED" -eq 0 ] && [ "$APPLY" -eq 0 ] && [ "$CREATE_CONFIG" -eq 0 ]; then
195+
if [ "$AUDIT" -eq 0 ] && [ "$AUDIT_ALL" -eq 0 ] && [ "$AUDIT_ALL_ENABLE_PASSED" -eq 0 ] && [ "$APPLY" -eq 0 ] && [ "$CREATE_CONFIG" -eq 0 ] && [ "$SET_HARDENING_LEVEL" -eq 0 ]; then
196196
usage
197197
fi
198198

0 commit comments

Comments
 (0)