Skip to content

Commit

Permalink
fix: finish setting help to 0 by default
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas J Hunley <[email protected]>
  • Loading branch information
hunleyd committed Jul 9, 2022
1 parent 3d33653 commit ba13892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btrfs-auto-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit ba13892

Please sign in to comment.