Improve file handler error message

Terminating the file handler current process may be either a "push" or
"install" command.
This commit is contained in:
Romain Vimont 2021-01-22 19:22:40 +01:00
parent b566700bfd
commit d8e9ad20b0

View file

@ -184,7 +184,7 @@ file_handler_stop(struct file_handler *file_handler) {
cond_signal(file_handler->event_cond); cond_signal(file_handler->event_cond);
if (file_handler->current_process != PROCESS_NONE) { if (file_handler->current_process != PROCESS_NONE) {
if (!process_terminate(file_handler->current_process)) { if (!process_terminate(file_handler->current_process)) {
LOGW("Could not terminate install process"); LOGW("Could not terminate push/install process");
} }
} }
mutex_unlock(file_handler->mutex); mutex_unlock(file_handler->mutex);