]> git.pld-linux.org Git - packages/ElectricFence.git/blame - ef.sh
- updated to 2.2.6
[packages/ElectricFence.git] / ef.sh
CommitLineData
c2acdaad
JK
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.
10if [ "$1" = "" ]; then
11 echo "$0: Usage: ef [executable] [arguments]."
12 echo " Runs the executable under the Electric Fence malloc debugger."
13 exit
14fi
15
16# Set the environment to load eletric fence.
17(\
18export LD_PRELOAD=libefence.so.0;\
19exec $*;\
20)
This page took 0.07825 seconds and 4 git commands to generate.