From dd652f84b1e0de892e10e19ac75bd175230bece6 Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Fri, 21 Mar 2003 16:30:43 +0000 Subject: added python module for easy scripting of implanting and checking md5sums for tim --- isomd5sum/implantisomd5.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'isomd5sum/implantisomd5.c') diff --git a/isomd5sum/implantisomd5.c b/isomd5sum/implantisomd5.c index 589fb8e49..5334c4b27 100644 --- a/isomd5sum/implantisomd5.c +++ b/isomd5sum/implantisomd5.c @@ -50,7 +50,11 @@ int main(int argc, char **argv) { if (!args || !args[0] || !args[0][0]) usage(); - rc = implantISOFile((char *)args[0], supported, forceit, errstr); - if (rc) - fprintf(stderr, errstr); + rc = implantISOFile((char *)args[0], supported, forceit, 0, &errstr); + if (rc) { + fprintf(stderr, "ERROR: %s\n", errstr); + exit(1); + } else { + exit(0); + } } -- cgit