diff --git a/bin/build_detector.sh b/bin/build_detector.sh
index 19e7ec8bfb3ba7b8d87ee871538b5a5b49c5add2..52def5e9e9eb412322eb355d7910cfa5eb14744e 100755
--- a/bin/build_detector.sh
+++ b/bin/build_detector.sh
@@ -35,7 +35,6 @@ if [ -d "${JUGGLER_DETECTOR}" ]; then
 fi
 echo "Fetching ${JUGGLER_DETECTOR}"
 git clone -b ${JUGGLER_DETECTOR_VERSION} --depth 1 https://eicweb.phy.anl.gov/EIC/detectors/${JUGGLER_DETECTOR}.git
-echo "$?"
 [[ "$?" == "0" ]]  ||  exit 1
 rm -rf "${JUGGLER_DETECTOR}/.git"