evobackupctl: fix args check
This commit is contained in:
parent
288d61d6b9
commit
939ced46c2
|
@ -21,6 +21,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
* evobackupctl: quote ARGS variable for options parsing.
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
## [24.04]
|
## [24.04]
|
||||||
|
|
|
@ -92,7 +92,7 @@ copy_template() {
|
||||||
main() {
|
main() {
|
||||||
# If no argument is provided, print help and exit
|
# If no argument is provided, print help and exit
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
if [ -z ${ARGS} ]; then
|
if [ -z "${ARGS}" ]; then
|
||||||
show_help
|
show_help
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue