Fixed syntax error in bash script... I forgot about bash's annoying then after the if