diff --git a/extras/cppcheck/check_file.sh b/extras/cppcheck/check_file.sh index a560cd33..45c32744 100755 --- a/extras/cppcheck/check_file.sh +++ b/extras/cppcheck/check_file.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [[ $@ -lt 1 ]]; then +if [[ $# -lt 1 ]]; then echo "Usage: $0 " exit 1 fi