restart: make reply an array, add forgotten test to git (#3750)
related to #3565
This commit is contained in:
committed by
GitHub
parent
e4ecc6e4a1
commit
5bb7b73a4a
@ -1655,7 +1655,7 @@ void ipc_send_binding_event(const char *event_type, Binding *bind) {
|
||||
*/
|
||||
void ipc_confirm_restart(ipc_client *client) {
|
||||
DLOG("ipc_confirm_restart(fd %d)\n", client->fd);
|
||||
static const char *reply = "{\"success\":true}";
|
||||
static const char *reply = "[{\"success\":true}]";
|
||||
ipc_send_client_message(
|
||||
client, strlen(reply), I3_IPC_REPLY_TYPE_COMMAND,
|
||||
(const uint8_t *)reply);
|
||||
|
Reference in New Issue
Block a user