summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/smbwrapper/smbsh7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/smbwrapper/smbsh b/source3/smbwrapper/smbsh
index c34247e3a4..47c21f8cbe 100755
--- a/source3/smbwrapper/smbsh
+++ b/source3/smbwrapper/smbsh
@@ -1,6 +1,11 @@
#!/bin/sh
-LIBDIR=/home/tridge/samba/cvs/source/smbwrapper
+LIBDIR=/home/tridge/samba/source/smbwrapper
+
+if [ ! -f $LIBDIR/smbwrapper.so ]; then
+ echo You need to set LIBDIR in smbsh
+ exit
+fi
# a simple launcher for the smbwrapper.so preloadde library