X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=casper-md5check%2Fcasper-md5check.c;h=8dfd577df154baa2759654e3022bc14f179cd914;hb=4bdaa2237c6ae923d1dd068e9024ebceca3f40d9;hp=1e9d1bb24cf9e554a9251ea0eab112ad65a3a8a8;hpb=c972c6eea545add125883eaaeea459551e54589c;p=live-boot-grml.git diff --git a/casper-md5check/casper-md5check.c b/casper-md5check/casper-md5check.c index 1e9d1bb..8dfd577 100644 --- a/casper-md5check/casper-md5check.c +++ b/casper-md5check/casper-md5check.c @@ -255,7 +255,11 @@ int main(int argc, char **argv) { free(checksum); free(checkfile); } - usplash_urgent(pipe_fd, "Check finished, %d checksums failed", failed); + if (failed) { + usplash_urgent(pipe_fd, "Check finished: errors found in %d files!", failed); + } else { + usplash_urgent(pipe_fd, "Check finished: no errors found"); + } usplash_urgent(pipe_fd, "Press any key to reboot your system"); usplash_timeout(pipe_fd, 86400); set_nocanonical_tty(0);