diff --git a/benchmarks/track_fitting/single_tracks.sh b/benchmarks/track_fitting/single_tracks.sh index 4cee5f50f97da2c86cbf2132010a25f4eff1b80e..57ee5713a0fdb64f57d8ebb3e6ae0279343428d2 100644 --- a/benchmarks/track_fitting/single_tracks.sh +++ b/benchmarks/track_fitting/single_tracks.sh @@ -28,8 +28,8 @@ do ;; --all) DO_ALL=2 - if [[ "${DO_REC}${DO_SIM}${DO_ANALYSIS}" != "" ]] ; then - echo "Error: cannot use --all with other arguments." 1>&2; + if [[ "${DO_REC}${DO_SIM}${DO_ANALYSIS}" -eq "" ]] ; then + echo "Error: cannot use --all with other arguments." 1>&2 print_the_help exit 1 fi