forked from extern/zfs-auto-snapshot
Clear trailing whitespaces
This commit is contained in:
parent
99e1a6103d
commit
4538217932
@ -191,7 +191,7 @@ do_snapshots () # properties, flags, snapname, oldglob, [targets...]
|
|||||||
else
|
else
|
||||||
WARNING_COUNT=$(( $WARNING_COUNT + 1 ))
|
WARNING_COUNT=$(( $WARNING_COUNT + 1 ))
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Retain at most $opt_keep number of old snapshots of this filesystem,
|
# Retain at most $opt_keep number of old snapshots of this filesystem,
|
||||||
@ -208,7 +208,7 @@ do_snapshots () # properties, flags, snapname, oldglob, [targets...]
|
|||||||
KEEP=$(( $KEEP - 1 ))
|
KEEP=$(( $KEEP - 1 ))
|
||||||
if [ "$KEEP" -le '0' ]
|
if [ "$KEEP" -le '0' ]
|
||||||
then
|
then
|
||||||
if do_run "zfs destroy -d $FLAGS '$jj'"
|
if do_run "zfs destroy -d $FLAGS '$jj'"
|
||||||
then
|
then
|
||||||
DESTRUCTION_COUNT=$(( $DESTRUCTION_COUNT + 1 ))
|
DESTRUCTION_COUNT=$(( $DESTRUCTION_COUNT + 1 ))
|
||||||
else
|
else
|
||||||
@ -325,7 +325,7 @@ do
|
|||||||
shift 1
|
shift 1
|
||||||
;;
|
;;
|
||||||
(--sep)
|
(--sep)
|
||||||
case "$2" in
|
case "$2" in
|
||||||
([[:alnum:]_.:\ -])
|
([[:alnum:]_.:\ -])
|
||||||
:
|
:
|
||||||
;;
|
;;
|
||||||
@ -373,7 +373,7 @@ if [ "$#" -eq '0' ]
|
|||||||
then
|
then
|
||||||
print_log error "The filesystem argument list is empty."
|
print_log error "The filesystem argument list is empty."
|
||||||
exit 133
|
exit 133
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Count the number of times '//' appears on the command line.
|
# Count the number of times '//' appears on the command line.
|
||||||
SLASHIES='0'
|
SLASHIES='0'
|
||||||
|
Loading…
Reference in New Issue
Block a user