1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

r10527: don't attempt self gdb attach if running under valgrind. This was

causing fort to get rather unhappy
(This used to be commit cc3e15e19cfde45fdfa63ca0a44dbbbefa723d6a)
This commit is contained in:
Andrew Tridgell 2005-09-27 07:11:33 +00:00 committed by Gerald (Jerry) Carter
parent 255808b665
commit 190683f3e8

View File

@ -1,5 +1,10 @@
#!/bin/sh
if [ -n "$VALGRIND" -o -n "$SMBD_VALGRIND" ]; then
echo "Not running gdb under valgrind"
exit 1
fi
# we want everything on stderr, so the program is not disturbed
exec 1>&2