fixed few minor issues

This commit is contained in:
2023-05-05 19:50:16 +02:00
parent 23d36cc8af
commit 7542fba94e
3 changed files with 8 additions and 7 deletions

View File

@@ -106,7 +106,7 @@ prnt()
;;
"W")
local heads="[${IYellow}Warning${DEFAULTFG}]"
shift
shift
;;
"E")
local heads="[ ${IRed}ERROR${DEFAULTFG} ]"
@@ -148,8 +148,7 @@ export -f separator
dsleep()
{
i=$1
while test $i -gt 0
do
while test $i -gt 0; do
if [[ -n $2 ]]; then
echo -n "$2"
else