chiark / gitweb /
noip.c: Add debugging to most of the syscall wrappers.
[preload-hacks] / withlib.in
index 47e19d1893cc529ff152ee126fadf58b689101ab..51d6a874fc964c6c249c07a4196eb6005d3194bd 100644 (file)
@@ -1,6 +1,6 @@
 #! /bin/sh
 
 set -e
-export LD_PRELOAD=$LD_PRELOAD${LD_PRELOAD+ }@lib@.so
+LD_PRELOAD=${LD_PRELOAD+$LD_PRELOAD }@lib@.so; export LD_PRELOAD
 [ $# -eq 0 ] && set -- "${SHELL-/bin/sh}"
 exec "$@"