]> git.pld-linux.org Git - packages/ElectricFence.git/blob - ef.sh
- updated to 2.2.6
[packages/ElectricFence.git] / ef.sh
1 #!/bin/sh
2
3 #
4 # Simple script to run electric fence on stuff.  (needs libefence.so).
5 #
6 # $Id$
7 #
8
9 # Usage check.
10 if [ "$1" = "" ]; then
11         echo "$0: Usage: ef [executable] [arguments]."
12         echo "  Runs the executable under the Electric Fence malloc debugger."
13         exit
14 fi
15
16 # Set the environment to load eletric fence.
17 (\
18 export LD_PRELOAD=libefence.so.0;\
19 exec $*;\
20 )
This page took 0.051099 seconds and 3 git commands to generate.