This is what is stated in man page. If check fails, md5 sum is not found, or - which is newly added - check is aborted, return 1. --- checkisomd5.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/checkisomd5.c b/checkisomd5.c index 8f2ba8b..d306b3f 100644 --- a/checkisomd5.c +++ b/checkisomd5.c @@ -146,6 +146,6 @@ int main(int argc, char **argv) { fprintf(stderr, "\nThe media check is complete, the result is: %s\n", result); - exit (rc == ISOMD5SUM_CHECK_FAILED); + exit (rc != ISOMD5SUM_CHECK_PASSED); } -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list