From ba1389285d2af4afb783911f54de89372c62481f Mon Sep 17 00:00:00 2001 From: Douglas J Hunley Date: Sat, 9 Jul 2022 16:53:57 -0400 Subject: [PATCH] fix: finish setting help to 0 by default Signed-off-by: Douglas J Hunley --- btrfs-auto-snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrfs-auto-snapshot b/btrfs-auto-snapshot index 2f641a5..3633ae4 100755 --- a/btrfs-auto-snapshot +++ b/btrfs-auto-snapshot @@ -279,7 +279,7 @@ argsp_cmdline() if [ $# -eq 0 ] then - if [ -z "${ret_val[help]}" ] + if [ "${ret_val[help]}" -eq 0 ] then log error "The filesystem argument list is empty." log error "Please see $0 --help."