Fix Spinner must work without env vars
This commit is contained in:
parent
f094fb0481
commit
548f3c5730
|
@ -786,7 +786,7 @@ function _PerfProfiler { #__WITH_PARANOIA_DEBUG
|
||||||
|
|
||||||
_OFUNCTIONS_SPINNER="|/-\\"
|
_OFUNCTIONS_SPINNER="|/-\\"
|
||||||
function Spinner {
|
function Spinner {
|
||||||
if [ $_LOGGER_SILENT == true ] || [ "$_LOGGER_ERR_ONLY" == true ] || [ "$_SYNC_ON_CHANGES" == "initiator" ] || [ "$_SYNC_ON_CHANGES" == "target" ] ; then
|
if [ "$_LOGGER_SILENT" == true ] || [ "$_LOGGER_ERR_ONLY" == true ] || [ "$_SYNC_ON_CHANGES" == "initiator" ] || [ "$_SYNC_ON_CHANGES" == "target" ] ; then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
printf " [%c] \b\b\b\b\b\b" "$_OFUNCTIONS_SPINNER"
|
printf " [%c] \b\b\b\b\b\b" "$_OFUNCTIONS_SPINNER"
|
||||||
|
|
Loading…
Reference in New Issue