summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Zhang <zh.jesse@gmail.com>2011-04-11 17:35:36 +0800
committerJesse Zhang <zh.jesse@gmail.com>2011-04-11 17:35:36 +0800
commite2e91d4b38af338c986aa10c4e043fc8c179d997 (patch)
tree03e31fa924e8d33dfd0e884744f7a88af9d875b3
parent41b4d17c01fc67400b4a6737c135c9c545e4cf89 (diff)
pkcon: add missing {} around if
-rw-r--r--client/pk-console.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/pk-console.c b/client/pk-console.c
index 38d2f017..e00b9444 100644
--- a/client/pk-console.c
+++ b/client/pk-console.c
@@ -1203,9 +1203,10 @@ pk_console_get_summary (void)
g_string_append_printf (string, " %s\n", "rollback");
if (pk_bitfield_contain (roles, PK_ROLE_ENUM_GET_REPO_LIST))
g_string_append_printf (string, " %s\n", "repo-list");
- if (pk_bitfield_contain (roles, PK_ROLE_ENUM_REPO_ENABLE))
+ if (pk_bitfield_contain (roles, PK_ROLE_ENUM_REPO_ENABLE)) {
g_string_append_printf (string, " %s\n", "repo-enable [repo_id]");
g_string_append_printf (string, " %s\n", "repo-disable [repo_id]");
+ }
if (pk_bitfield_contain (roles, PK_ROLE_ENUM_REPO_SET_DATA))
g_string_append_printf (string, " %s\n", "repo-set-data [repo_id] [parameter] [value];");
if (pk_bitfield_contain (roles, PK_ROLE_ENUM_WHAT_PROVIDES))