From 939ced46c2ac2190630dafc360901582a350fcf5 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Tue, 30 Apr 2024 09:53:28 +0200 Subject: [PATCH] evobackupctl: fix args check --- client/CHANGELOG.md | 2 ++ client/bin/evobackupctl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/CHANGELOG.md b/client/CHANGELOG.md index 9c22196..bc78662 100644 --- a/client/CHANGELOG.md +++ b/client/CHANGELOG.md @@ -21,6 +21,8 @@ The **patch** part changes is incremented if multiple releases happen the same m ### Fixed +* evobackupctl: quote ARGS variable for options parsing. + ### Security ## [24.04] diff --git a/client/bin/evobackupctl b/client/bin/evobackupctl index 286eb94..3399694 100644 --- a/client/bin/evobackupctl +++ b/client/bin/evobackupctl @@ -92,7 +92,7 @@ copy_template() { main() { # If no argument is provided, print help and exit # shellcheck disable=SC2086 - if [ -z ${ARGS} ]; then + if [ -z "${ARGS}" ]; then show_help exit 0 fi