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:
parent
255808b665
commit
190683f3e8
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user