X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fpaths.c;h=e76dc35ecb1038c15b9cd2c6580cc1e454f4c850;hp=0f102a222b76fac144fd35617366c0975eb3ff77;hb=6fab22db693aaf495b8be0699e6d177ba69d79ed;hpb=dadebc9010718645789009a0fddbc6447b07f1da diff --git a/discover/paths.c b/discover/paths.c index 0f102a2..e76dc35 100644 --- a/discover/paths.c +++ b/discover/paths.c @@ -14,6 +14,7 @@ #include #include #include +#include "i18n/i18n.h" #include "paths.h" #include "device-handler.h" @@ -109,6 +110,10 @@ static void load_url_process_exit(struct process *process) load_url_result_cleanup_local(result); } + if (result->status == LOAD_OK && process->stdout_data) + device_handler_status_info(process->stdout_data, + _("Download complete: %s"), task->url->file); + /* The load callback may well free the ctx, which was the * talloc parent of the task. Therefore, we want to do our cleanup * before invoking it