git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handle the case of an intermediate binary not loading smbwrapper.so
[samba.git]
/
source3
/
smbwrapper
/
smbw.c
diff --git
a/source3/smbwrapper/smbw.c
b/source3/smbwrapper/smbw.c
index eb156ce0ef5af3cf70beba83d80c0f9263f3a038..26dec4646e921d0ccf3293817264cc7758a2f5d6 100644
(file)
--- a/
source3/smbwrapper/smbw.c
+++ b/
source3/smbwrapper/smbw.c
@@
-101,8
+101,7
@@
void smbw_init(void)
p = smbw_getshared(line);
if (!p) {
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));
}
pstrcpy(smbw_cwd, p);
DEBUG(4,("Initial cwd is %s\n", smbw_cwd));