Skip to content

Commit

Permalink
Merge pull request #2001 from dirkmueller/maint-1.3
Browse files Browse the repository at this point in the history
Avoid grep warning on oscap-podman invocation
  • Loading branch information
jan-cerny authored Jul 20, 2023
2 parents cd310d8 + 6100dc9 commit 0e1e885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/oscap-podman
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fi
if [ "$(id -u)" -ne 0 ]; then
die "This script cannot run in rootless mode."
fi
if grep -q "\-\-remediate" <<< "$@"; then
if grep -q -- "--remediate" <<< "$@"; then
die "This script does not support '--remediate' option."
fi

Expand Down

0 comments on commit 0e1e885

Please sign in to comment.