diff --git a/SC1014.md b/SC1014.md index 0d4edd0..cc40550 100644 --- a/SC1014.md +++ b/SC1014.md @@ -1,4 +1,4 @@ -## Use 'if cmd; then ..' to check exit code, or 'if [\[ $(cmd) == .. ]]' to check output. +## Use 'if cmd; then ..' to check exit code, or 'if [ "$(cmd)" = .. ]' to check output. ### Problematic code: