diff --git a/dsmon.sh b/dsmon.sh index c10dfd2..921a189 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -171,7 +171,7 @@ CHECK(){ ((nc_count++)) fi done - [ ${nc_count} -gt 0 ] && echo -en "\033[2A\033[2K" + [ ${nc_count} -gt 0 ] && echo -e "\033[2A\r\033[2K" if [ "${1}" != "report" ]; then [ ${nc_count} -gt ${lc_count} ] && echo