summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-03-07 19:16:40 +0000
committerMike Fulbright <msf@redhat.com>2003-03-07 19:16:40 +0000
commit6a2978c612e63f5497c55d6c855496f18fb0722d (patch)
tree0bc6ced2cde59c552eb2bac0ebd4b1aa7ecf2255
parentfb4cae8e209dda5d359037d2545ab8bd54802a6c (diff)
downloadanaconda-6a2978c612e63f5497c55d6c855496f18fb0722d.tar.gz
anaconda-6a2978c612e63f5497c55d6c855496f18fb0722d.tar.xz
anaconda-6a2978c612e63f5497c55d6c855496f18fb0722d.zip
fix from bug #85775taroon-base
-rw-r--r--isomd5sum/checkisomd5.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/isomd5sum/checkisomd5.c b/isomd5sum/checkisomd5.c
index 7d413d6f6..5ef184a86 100644
--- a/isomd5sum/checkisomd5.c
+++ b/isomd5sum/checkisomd5.c
@@ -312,7 +312,7 @@ int main(int argc, char **argv) {
int rc;
if (argc < 2) {
- printf("Usage: checkisomd5 <isofilename>|<blockdevice>\n\n");
+ printf("Usage: checkisomd5 [--md5sumonly] <isofilename>|<blockdevice>\n\n");
exit(1);
}
@@ -323,4 +323,6 @@ int main(int argc, char **argv) {
}
rc = mediaCheckFile(argv[1]);
+
+ exit(rc ? 0 : 1);
}