1
0
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:
Andrew Tridgell 2011-03-23 11:22:15 +11:00
parent 6e8b6358ec
commit 7aef9c3fe0
3 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}