From c90d22c6c51dfbf3776217d03e64df435944fd68 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 24 Oct 1998 08:14:17 +0000 Subject: handle the case of an intermediate binary not loading smbwrapper.so (for example /usr/bin/man because it is setgid). (This used to be commit 85f639ab2ba72dda5a00cf11c8ee705f5a51ec54) --- source3/smbwrapper/smbw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/smbwrapper') diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c index eb156ce0ef..26dec4646e 100644 --- a/source3/smbwrapper/smbw.c +++ b/source3/smbwrapper/smbw.c @@ -101,8 +101,7 @@ void smbw_init(void) p = smbw_getshared(line); if (!p) { - DEBUG(0,("ERROR: %s is not set\n", line)); - exit(1); + sys_getwd(smbw_cwd); } pstrcpy(smbw_cwd, p); DEBUG(4,("Initial cwd is %s\n", smbw_cwd)); -- cgit