projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding live-initramfs 1.87.1-1.
[live-boot-grml.git]
/
casper-md5check
/
casper-md5check.c
diff --git
a/casper-md5check/casper-md5check.c
b/casper-md5check/casper-md5check.c
index
1e9d1bb
..
8dfd577
100644
(file)
--- 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);
}
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);
usplash_urgent(pipe_fd, "Press any key to reboot your system");
usplash_timeout(pipe_fd, 86400);
set_nocanonical_tty(0);