Skip to content

Commit

Permalink
Fix Spinner must work without env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
deajan committed Sep 21, 2024
1 parent f094fb0 commit 548f3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/ofunctions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ function _PerfProfiler { #__WITH_PARANOIA_DEBUG

_OFUNCTIONS_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
else
printf " [%c] \b\b\b\b\b\b" "$_OFUNCTIONS_SPINNER"
Expand Down

0 comments on commit 548f3c5

Please sign in to comment.