diff --git a/bin/terminate b/bin/terminate index 6aec254..da3fcad 100755 --- a/bin/terminate +++ b/bin/terminate @@ -93,8 +93,8 @@ while getopts "hvi:o:" option; do esac done -if [ $ERROR -eq 1 ]; then - error "Invalid parameter\\n$(usage)" +if [ "$ERROR" -eq 1 ]; then + error "$(usage)" fi exitIfEmpty "$INPUT_FILE" "Input file is missing (-i)"