Signed-off-by: Sébastien Lesaint <sebastien.lesaint@sonarsource.com>tags/6.1-RC1
@@ -49,7 +49,7 @@ function showHelp() { | |||
} | |||
function checkOptions() { | |||
if [ "$DUMP_DIR" = "" ]; then | |||
if [[ -z "$DUMP_DIR" ]]; then | |||
>&2 echo "-d option is mandatory" | |||
showHelp | |||
exit 1 |