mirror of
https://asciireactor.com/o4data/zfs-backup.git
synced 2024-11-21 23:05:06 +00:00
Some debug improvements.
This commit is contained in:
parent
da53bff027
commit
b816c1aec5
@ -263,14 +263,14 @@ while :; do
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
-t)
|
-t)
|
||||||
ZB_TEST_MODE=TRUE
|
ZB_TEST_MODE=TRUE
|
||||||
echo Test mode.
|
debug "Enabled test mode."
|
||||||
;;
|
;;
|
||||||
-v)
|
-v)
|
||||||
ZB_VERBOSE=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 Verbose mode.
|
debug "Enabled terbose mode."
|
||||||
;;
|
;;
|
||||||
--) shift; break ;;
|
--) shift; break ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user