Updated name of verbose mode.

This commit is contained in:
Otho 2023-01-16 22:44:37 -05:00
parent eded01bd6f
commit 5ca13f983a
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9

View File

@ -34,7 +34,7 @@ SNAPSHOT_DATASETS=""
debug()
{
if [ "$ZB_DEBUG_MODE" = "TRUE" ]; then
if [ "$ZB_VERBOSE" = "TRUE" ]; then
echo $@
fi
}
@ -261,12 +261,12 @@ while :; do
ZB_TEST_MODE=TRUE
echo Test mode.
;;
-d)
ZB_DEBUG_MODE=TRUE
-v)
ZB_VERBOSE=TRUE
ZFS_SEND_OPTS="$ZFS_SEND_OPTS -v"
# Current on by default.
# ZFS_RECV_OPTS="$ZFS_RECV_OPTS -v"
echo Debug mode.
echo Verbose mode.
;;
--) shift; break ;;
esac