refactoring

This commit is contained in:
Simon Vieille 2021-04-27 12:10:08 +02:00
parent 4f5c85dbcc
commit 302920b5db

View file

@ -93,8 +93,8 @@ while getopts "hvi:o:" option; do
esac esac
done done
if [ $ERROR -eq 1 ]; then if [ "$ERROR" -eq 1 ]; then
error "Invalid parameter\\n$(usage)" error "$(usage)"
fi fi
exitIfEmpty "$INPUT_FILE" "Input file is missing (-i)" exitIfEmpty "$INPUT_FILE" "Input file is missing (-i)"