refactoring
This commit is contained in:
parent
4f5c85dbcc
commit
302920b5db
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue