git.samba.org
/
jelmer
/
ctrlproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f94b639
)
Don't warn about missing listener file.
author
Jelmer Vernooij
<jelmer@samba.org>
Sat, 1 Sep 2007 16:21:44 +0000
(18:21 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sat, 1 Sep 2007 16:21:44 +0000
(18:21 +0200)
src/settings.c
patch
|
blob
|
history
diff --git
a/src/settings.c
b/src/settings.c
index cc9f640d88fb4e6e8eea8d918df34871cff81d86..52c19ec498191fe5f7b9326f45e84ed644f57b70 100644
(file)
--- a/
src/settings.c
+++ b/
src/settings.c
@@
-570,7
+570,8
@@
static void config_load_listeners(struct ctrlproxy_config *cfg)
kf = g_key_file_new();
if (!g_key_file_load_from_file(kf, filename, G_KEY_FILE_KEEP_COMMENTS, &error)) {
- log_global(LOG_ERROR, "Can't parse configuration file '%s': %s", filename, error->message);
+ if (error->code != G_FILE_ERROR_NOENT)
+ log_global(LOG_ERROR, "Can't parse configuration file '%s': %s", filename, error->message);
g_free(filename);
return;
}