Commit c982eeb8 authored by Julius Plenz's avatar Julius Plenz

If LD_PRELOAD is set, extend it (fixes #5)

Thanks to kocmo for the patch.
parent 1107d329
#!/bin/sh
export LD_PRELOAD="./nocache.so"
libnocache="./nocache.so"
if [ -n "$LD_PRELOAD" ]; then
export LD_PRELOAD="$libnocache $LD_PRELOAD"
else
export LD_PRELOAD="$libnocache"
fi
exec "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment