diff options
Diffstat (limited to 'src/rest.c')
-rw-r--r-- | src/rest.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |