From bf5e82111aeadb2954bbc2488577b93ca49e3d66 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 2 Apr 2025 12:43:39 +0200 Subject: [PATCH] Fix. --- testing/home/desktop/.local/bin/borgplom | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/home/desktop/.local/bin/borgplom b/testing/home/desktop/.local/bin/borgplom index d0245b3..0b6e44f 100755 --- a/testing/home/desktop/.local/bin/borgplom +++ b/testing/home/desktop/.local/bin/borgplom @@ -32,9 +32,10 @@ error_exit_with_usage() { } check_args_beyond() { + _CMD="$1" shift 1 if [ "$#" -gt 0 ]; then - echo "WARNING: unexpected arguments beyond command, ignoring: $@\n" + error_exit "unexpected arguments beyond command '${_CMD}': $@\n" fi } -- 2.30.2