Commit 2582eb91 authored by Julius Plenz's avatar Julius Plenz

Also fix setting of LD_PRELOAD in nocache.global (issue #5)

Thanks again, kocmo, for noticing.
parent c982eeb8
#!/bin/sh
export LD_PRELOAD="/usr/local/lib/nocache.so"
libnocache="/usr/local/lib/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