Skip to content

Commit 0e1e885

Browse files
authored
Merge pull request #2001 from dirkmueller/maint-1.3
Avoid grep warning on oscap-podman invocation
2 parents cd310d8 + 6100dc9 commit 0e1e885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/oscap-podman

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fi
6161
if [ "$(id -u)" -ne 0 ]; then
6262
die "This script cannot run in rootless mode."
6363
fi
64-
if grep -q "\-\-remediate" <<< "$@"; then
64+
if grep -q -- "--remediate" <<< "$@"; then
6565
die "This script does not support '--remediate' option."
6666
fi
6767

0 commit comments

Comments
 (0)