diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-06 08:42:35 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-16 16:05:49 +0200 |
commit | d949d6d395bdf195c80c187eae932b690f98a7c0 (patch) | |
tree | 0e0d7f11f78d11de9e92b3a18ab9dbc47692bf05 | |
parent | 35b9b7d2ce66cabb43f43d42aadc6826f75fc96d (diff) |
Fix: Use $* instead of $@ in string
This fixes shellcheck SC2145
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r-- | plugins/tedge_docker_plugin/tedge_docker_plugin.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/tedge_docker_plugin/tedge_docker_plugin.sh b/plugins/tedge_docker_plugin/tedge_docker_plugin.sh index 9aee79ea..45b11afd 100644 --- a/plugins/tedge_docker_plugin/tedge_docker_plugin.sh +++ b/plugins/tedge_docker_plugin/tedge_docker_plugin.sh @@ -16,7 +16,7 @@ EOF unsupported_args_check() { if ! [ -z $1 ]; then - echo "Unsupported arguments: $@" + echo "Unsupported arguments: $*" exit 1 fi } |