What's next? verify your email address for reply notifications!
it is nice, but the check of [ $? -eq 0 ] will immediately set the $? to 0, destroying the real error code. therefore showing ->(0) on any non-zero error code.
Beautiful. Thank you.Do you know how to add $BRANCH an indication as to the branch's status?