From 2e35481fc2708dae5df7810abaaaae750c83f8e2 Mon Sep 17 00:00:00 2001 From: jgromes Date: Tue, 11 Feb 2025 15:21:30 +0100 Subject: [PATCH] Fix script argument check --- extras/cppcheck/check_file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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