Invalid unary test operator usage Medium

This has detected a unary test operator that is not followed by a valid shell word, potentially due to a misplaced square bracket, round bracket, or missing space before the square brackets. Verify the syntax, ensure the test operator has an operand, and try again.

Detector ID
shell/invalid-unary-test-operator-usage@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-