mirror of
https://github.com/samba-team/samba.git
synced 2025-11-07 12:23:51 +03:00
r10527: don't attempt self gdb attach if running under valgrind. This was
causing fort to get rather unhappy
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
8ec69f8ddf
commit
cc3e15e19c
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user