mercredi 7 septembre 2016

Bash Script : Printing success or failure on while loop

How to print "SUCCESS" only one time after successfully execution of the complete while loop. if any error occurs during the loop then exit the loop and print "FAILED"

NOTE :- My code is printing success each time with the loop, I just want to print it one time, once the entire while loop is successfully executed

Aucun commentaire:

Enregistrer un commentaire