Working on a unix shell script, and for some reason i can't get my if statements to work. Have no problems with any of hte other scripts we're required to write this ones being a whore.
here is the error i'm getting:
http://puu.sh/2CrLF.pnghere is my script
http://puu.sh/2CrMG.pngWhy is it telling me i have one to many fi(closes an if statement) ?
If i remove it it complains the script ends unexpectedly, if i add another its an error code as well.