summaryrefslogtreecommitdiff
path: root/casper-md5check/casper-md5check.c
diff options
context:
space:
mode:
Diffstat (limited to 'casper-md5check/casper-md5check.c')
-rw-r--r--casper-md5check/casper-md5check.c6
1 files changed, 5 insertions, 1 deletions
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);