need an help on adding exist code 0 for success and 1 for failure. below is the script format which is ready
while getops --\'\' -