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