From 09ebf59689600ae240ad07003168a8bb18cba415 Mon Sep 17 00:00:00 2001
From: Whitney Armstrong <warmstrong@anl.gov>
Date: Thu, 26 Aug 2021 15:09:40 -0500
Subject: [PATCH] 	modified:   single_tracks.sh

---
 benchmarks/track_fitting/single_tracks.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/benchmarks/track_fitting/single_tracks.sh b/benchmarks/track_fitting/single_tracks.sh
index 4cee5f50..57ee5713 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
-- 
GitLab