Bash Example Script #2

I have added the following function to my bash example script: # Run external command and only procced, when exit code is 0 function try { $@ returnValue=$? echo “$returnValue” if [ $returnValue -ne 0 ] then log $ERROR “$@ Continue Reading …