aboutsummaryrefslogtreecommitdiff
path: root/doval
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdoval4
1 files changed, 3 insertions, 1 deletions
diff --git a/doval b/doval
index af840ee..e215510 100755
--- a/doval
+++ b/doval
@@ -1,2 +1,4 @@
#!/bin/bash
-valgrind --tool=memcheck --error-limit=no --suppressions=debug/valgrind-suppress --gen-suppressions=all --leak-check=full --show-reachable=yes --num-callers=32 $*
+PROGDIR=`dirname $0`
+unset LD_LIBRARY_PATH
+valgrind --tool=memcheck --error-limit=no --suppressions=$PROGDIR/debug/valgrind-suppress --gen-suppressions=all --leak-check=full --show-reachable=yes --num-callers=32 $PROGDIR/openvpn "$@"