[PATCH isomd5sum rhel6 4/5] Update documentation with check abort feature (#555107)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 checkisomd5.1    |    4 +++-
 libcheckisomd5.h |    1 +
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/checkisomd5.1 b/checkisomd5.1
index 796ecb5..295b45a 100644
--- a/checkisomd5.1
+++ b/checkisomd5.1
@@ -8,7 +8,9 @@ checkisomd5 \(em check an MD5 checksum implanted by \fBimplantisomd5\fR
 .PP
 This manual page documents briefly the \fBcheckisomd5\fR command.  \fBcheckisomd5\fR is a program that checks an embedded MD5 checksum in a ISO9660 image (.iso), or block device.  The checksum is embedded by the corresponding \fBimplantisomd5\fR command.
 .PP
-Program returns exit status 0 if the checksum is correct, or 1 if the checksum is incorrect or non-existent.
+The check can be aborted by pressing ENTER key.
+.PP
+Program returns exit status 0 if the checksum is correct, or 1 if the checksum is incorrect, non-existent, or check was aborted.
 .SH "OPTIONS"
 .IP "\fB\-\-md5sumonly\fP" 10
 Do not check the target.  Instead, output human-readable information about the target's checksums.
diff --git a/libcheckisomd5.h b/libcheckisomd5.h
index 6987aff..d1e113d 100644
--- a/libcheckisomd5.h
+++ b/libcheckisomd5.h
@@ -6,6 +6,7 @@
 #define ISOMD5SUM_CHECK_ABORTED         2
 #define ISOMD5SUM_CHECK_NOT_FOUND       -1
 
+/* for non-zero return value, check is aborted */
 typedef int (*checkCallback)(void *, long long offset, long long total);
 
 int mediaCheckFile(char *iso, checkCallback cb, void *cbdata);
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux