mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3-config: say which config file we failed to open
saves having to strace it to work that out
This commit is contained in:
parent
6e8b6358ec
commit
7aef9c3fe0
@ -851,7 +851,7 @@ static bool open_sockets(bool isdaemon, int port)
|
||||
DEBUGADD(0,("%s\n", COPYRIGHT_STARTUP_MESSAGE));
|
||||
|
||||
if (!lp_load_initial_only(get_dyn_CONFIGFILE())) {
|
||||
DEBUG(0, ("error opening config file\n"));
|
||||
DEBUG(0, ("error opening config file '%s'\n", get_dyn_CONFIGFILE()));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
@ -1034,7 +1034,7 @@ extern void build_options(bool screen);
|
||||
}
|
||||
|
||||
if (!lp_load_initial_only(get_dyn_CONFIGFILE())) {
|
||||
DEBUG(0, ("error opening config file\n"));
|
||||
DEBUG(0, ("error opening config file '%s'\n", get_dyn_CONFIGFILE()));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
@ -1318,7 +1318,7 @@ int main(int argc, char **argv, char **envp)
|
||||
DEBUGADD(0,("%s\n", COPYRIGHT_STARTUP_MESSAGE));
|
||||
|
||||
if (!lp_load_initial_only(get_dyn_CONFIGFILE())) {
|
||||
DEBUG(0, ("error opening config file\n"));
|
||||
DEBUG(0, ("error opening config file '%s'\n", get_dyn_CONFIGFILE()));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user