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 1486034..9989462 100644
--- a/src/client.c
+++ b/src/client.c
@@ -1065,6 +1065,8 @@ int og_agent_state_process_response(struct og_client *cli)
break;
case OG_CMD_IMAGE_RESTORE:
err = og_resp_image_restore(root, cli);
+ if (!err)
+ err = og_resp_update_cache(root, cli);
break;
case OG_CMD_CACHE_DELETE:
err = og_resp_update_cache(root, cli);