summaryrefslogtreecommitdiff
path: root/functions/echo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/echo.sh')
-rwxr-xr-xfunctions/echo.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions/echo.sh b/functions/echo.sh
index 40e76ea6e..6ec00f867 100755
--- a/functions/echo.sh
+++ b/functions/echo.sh
@@ -149,11 +149,11 @@ Echo_warning ()
Echo_status ()
{
- __RETURN="${?}"
+ __RETURN=$?
if [ "${_COLOR}" = "false" ]
then
- if [ "${__RETURN}" = "0" ]
+ if [ $__RETURN -eq 0 ]
then
printf " done.\n"
else
@@ -162,7 +162,7 @@ Echo_status ()
else
Cursor_columns_backward 8
- if [ "${__RETURN}" = "0" ]
+ if [ $__RETURN -eq 0 ]
then
printf " ${GREEN}done${NO_COLOR}. \n"
else