Skip to content

Commit

Permalink
Clear trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Carter committed Sep 25, 2019
1 parent 99e1a61 commit 4538217
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/zfs-auto-snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ do_snapshots () # properties, flags, snapname, oldglob, [targets...]
else
WARNING_COUNT=$(( $WARNING_COUNT + 1 ))
continue
fi
fi
fi

# Retain at most $opt_keep number of old snapshots of this filesystem,
Expand All @@ -208,7 +208,7 @@ do_snapshots () # properties, flags, snapname, oldglob, [targets...]
KEEP=$(( $KEEP - 1 ))
if [ "$KEEP" -le '0' ]
then
if do_run "zfs destroy -d $FLAGS '$jj'"
if do_run "zfs destroy -d $FLAGS '$jj'"
then
DESTRUCTION_COUNT=$(( $DESTRUCTION_COUNT + 1 ))
else
Expand Down Expand Up @@ -325,7 +325,7 @@ do
shift 1
;;
(--sep)
case "$2" in
case "$2" in
([[:alnum:]_.:\ -])
:
;;
Expand Down Expand Up @@ -373,7 +373,7 @@ if [ "$#" -eq '0' ]
then
print_log error "The filesystem argument list is empty."
exit 133
fi
fi

# Count the number of times '//' appears on the command line.
SLASHIES='0'
Expand Down

0 comments on commit 4538217

Please sign in to comment.