evobackupctl: use $ARGS

This commit is contained in:
Jérémy Lecour 2024-04-29 16:27:22 +02:00 committed by Jérémy Lecour
parent 00e5384cd1
commit 73bd007f6e
Signed by: jlecour
SSH key fingerprint: SHA256:h+5LgHRKwN9lS0SsdVR5yZPeFlJE4Mt+8UtL4CcP8dY

View file

@ -63,7 +63,7 @@ copy_template() {
main() {
# If no argument is provided, print help and exit
# shellcheck disable=SC2086
if [ -z ${1:-''} ]; then
if [ -z ${ARGS} ]; then
show_help
exit 0
fi