diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-24 08:14:17 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-24 08:14:17 +0000 |
commit | c90d22c6c51dfbf3776217d03e64df435944fd68 (patch) | |
tree | ae4caf5afbe439bc77ef126a5125319730a0795a /source3 | |
parent | fb556e14f3b47d5a1f465589084e8b30d84af8ca (diff) | |
download | samba-c90d22c6c51dfbf3776217d03e64df435944fd68.tar.gz samba-c90d22c6c51dfbf3776217d03e64df435944fd68.tar.bz2 samba-c90d22c6c51dfbf3776217d03e64df435944fd68.zip |
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)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbwrapper/smbw.c | 3 |
1 files changed, 1 insertions, 2 deletions
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)); |