evobackupctl: use $ARGS
This commit is contained in:
parent
00e5384cd1
commit
73bd007f6e
|
@ -63,7 +63,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 ${1:-''} ]; then
|
if [ -z ${ARGS} ]; then
|
||||||
show_help
|
show_help
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue