diff --git a/.github/scripts/prep_valgrind_test.sh b/.github/scripts/prep_valgrind_test.sh index 379413c3..6a53f4da 100644 --- a/.github/scripts/prep_valgrind_test.sh +++ b/.github/scripts/prep_valgrind_test.sh @@ -1,7 +1,7 @@ #! /bin/bash echo " check_return_code() { - if [ /$? -ne 0 ]; then + if [ \$? -ne 0 ]; then echo \"Memory leak detected. Test Failed...\" exit 1 fi