[rygel] core: Correct condition for system config loading
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel] core: Correct condition for system config loading
- Date: Sat, 4 Jul 2009 15:15:12 +0000 (UTC)
commit 009602eac5123685893d93776da839e5a992b5f7
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sat Jul 4 00:56:19 2009 +0300
core: Correct condition for system config loading
System config file should be used if configuration is read-only and not
the other way around.
src/rygel/rygel-user-config.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-user-config.vala b/src/rygel/rygel-user-config.vala
index 29f95c3..8628943 100644
--- a/src/rygel/rygel-user-config.vala
+++ b/src/rygel/rygel-user-config.vala
@@ -128,7 +128,7 @@ public class Rygel.UserConfig : GLib.Object, Configuration {
var dirs = new string[2];
dirs[0] = Environment.get_user_config_dir ();
- if (!read_only) {
+ if (read_only) {
// We only write to user config
dirs[1] = BuildConfig.SYS_CONFIG_DIR;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]