summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.c b/src/client.c
index 2480768..18a3784 100644
--- a/src/client.c
+++ b/src/client.c
@@ -1422,6 +1422,8 @@ int og_agent_state_process_response(struct og_client *cli)
break;
case OG_CMD_IMAGE_CREATE:
err = og_resp_image_create(root, cli);
+ if (err < 0)
+ og_resp_image_create_error(cli);
break;
case OG_CMD_IMAGE_RESTORE:
err = og_resp_image_restore(root, cli);