diff options
author | Rob Taylor <rob.taylor@codethink.co.uk> | 2007-08-18 17:31:28 +0100 |
---|---|---|
committer | Rob Taylor <rob.taylor@codethink.co.uk> | 2007-08-22 15:17:50 +0100 |
commit | af911c97b3e14271d50c68632760324efcb4fdf9 (patch) | |
tree | 04538390c1f5adb152ed9d561a0a50a09e2a17e4 | |
parent | 6da58414a9eee009d293400155869319597bc171 (diff) |
allow a plugin to have no defaults ini file.
Allow a plugin to have no defaults ini file, just output a debug message in this
case rather than g_error.
-rw-r--r-- | ohmd/ohm-module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ohmd/ohm-module.c b/ohmd/ohm-module.c index 99dc34a..f306aff 100644 --- a/ohmd/ohm-module.c +++ b/ohmd/ohm-module.c @@ -448,7 +448,7 @@ ohm_module_init (OhmModule *module) error = NULL; ret = ohm_conf_load_defaults (module->priv->conf, name, &error); if (ret == FALSE) { - g_error ("could not load defaults : %s", error->message); + ohm_debug ("not defaults for %s: %s", name, error->message); g_error_free (error); } } |