mirror of
https://asciireactor.com/o4data/zfs-backup.git
synced 2024-11-21 22:45:05 +00:00
Updated name of verbose mode.
This commit is contained in:
parent
eded01bd6f
commit
5ca13f983a
@ -34,7 +34,7 @@ SNAPSHOT_DATASETS=""
|
|||||||
|
|
||||||
debug()
|
debug()
|
||||||
{
|
{
|
||||||
if [ "$ZB_DEBUG_MODE" = "TRUE" ]; then
|
if [ "$ZB_VERBOSE" = "TRUE" ]; then
|
||||||
echo $@
|
echo $@
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@ -261,12 +261,12 @@ while :; do
|
|||||||
ZB_TEST_MODE=TRUE
|
ZB_TEST_MODE=TRUE
|
||||||
echo Test mode.
|
echo Test mode.
|
||||||
;;
|
;;
|
||||||
-d)
|
-v)
|
||||||
ZB_DEBUG_MODE=TRUE
|
ZB_VERBOSE=TRUE
|
||||||
ZFS_SEND_OPTS="$ZFS_SEND_OPTS -v"
|
ZFS_SEND_OPTS="$ZFS_SEND_OPTS -v"
|
||||||
# Current on by default.
|
# Current on by default.
|
||||||
# ZFS_RECV_OPTS="$ZFS_RECV_OPTS -v"
|
# ZFS_RECV_OPTS="$ZFS_RECV_OPTS -v"
|
||||||
echo Debug mode.
|
echo Verbose mode.
|
||||||
;;
|
;;
|
||||||
--) shift; break ;;
|
--) shift; break ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user