summaryrefslogtreecommitdiff
path: root/runv
diff options
context:
space:
mode:
Diffstat (limited to 'runv')
-rwxr-xr-xrunv2
1 files changed, 1 insertions, 1 deletions
diff --git a/runv b/runv
index 53a72c3..7f621fe 100755
--- a/runv
+++ b/runv
@@ -10,7 +10,7 @@ else
FLAGS="-q"
fi
-valgrind $FLAGS --track-origins=yes --error-exitcode=1 --malloc-fill=0xcd --free-fill=0xef --num-callers=100 ./toc $tocf || exit 1
+valgrind $FLAGS --track-origins=yes --exit-on-first-error=yes --error-exitcode=1 --malloc-fill=0xcd --free-fill=0xef --num-callers=100 ./toc $tocf || exit 1
if [ "$1" = "c" ]; then
gcc out.c -g && ./a.out
elif [ "$1" = "pc" ]; then