summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest.c b/src/rest.c
index 8bbe063..f177e4c 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -1708,7 +1708,7 @@ static int og_cmd_get_client_info(json_t *element,
json_integer(computer.hardware_id));
json_object_set_new(root, "server_id", json_integer(computer.server_id));
json_object_set_new(root, "netdriver", json_string(computer.netdriver));
- json_object_set_new(root, "maintenance", json_boolean(computer.name));
+ json_object_set_new(root, "maintenance", json_boolean(computer.maintenance));
json_object_set_new(root, "netiface", json_string(computer.netiface));
json_object_set_new(root, "repo_id", json_integer(computer.repo_id));
json_object_set_new(root, "livedir", json_string(computer.livedir));