Problem while implementing a function in a conditional bash command using background operator
I’m working on a Bash script where I need to show a spinner animation function while checking if a specified Git remote exists. The script snippet for checking the Git remote is as follows:
Problem while implementing an animation function in a conditional bash command
I’m working on a Bash script where I need to show a spinner animation function while checking if a specified Git remote exists. The script snippet for checking the Git remote is as follows: