diff --git a/zfs-inplace-rebalancing.sh b/zfs-inplace-rebalancing.sh index aa3ee8d..050fa46 100755 --- a/zfs-inplace-rebalancing.sh +++ b/zfs-inplace-rebalancing.sh @@ -39,7 +39,7 @@ function color_echo() { # Print a given text entirely in a given color function echo_debug() { if [ "$debug_flag" = true ]; then - text=$1 + text=$@ echo "${text}" fi }