Commit a2dc102b authored by David Mondou's avatar David Mondou
Browse files

Removed update success message from swupdate

parent 10c20c79
......@@ -900,13 +900,11 @@ server_op_res_t server_install_update(void)
}
}
/*
if ((result = save_state((char *)STATE_KEY, STATE_INSTALLED)) !=
SERVER_OK) {
ERROR("Cannot persistently store update state.\n");
goto cleanup;
}
*/
if (server_send_deployment_reply(
action_id, json_data_chunk_max, json_data_chunk_count,
......@@ -916,14 +914,6 @@ server_op_res_t server_install_update(void)
ERROR("Error while reporting installation success to "
"server.\n");
}
if (server_send_deployment_reply(
action_id, 0, 0, reply_status_result_finished.success,
reply_status_execution.closed,
(const char *)"Skipped Update.") != SERVER_OK) {
ERROR("Error while reporting installation progress to "
"server.\n");
}
cleanup:
if (channel_data.json_reply != NULL &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment