From 75f28121ecd289c18659b2fbd6d7041bc715243e Mon Sep 17 00:00:00 2001 From: Bruce Potter Date: Thu, 5 Dec 2013 08:24:36 -0500 Subject: [PATCH] change getxcatdocs to not exit when it hits an error converting one of the wiki pages --- xCAT-client/bin/getxcatdocs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-client/bin/getxcatdocs b/xCAT-client/bin/getxcatdocs index 1b35a99de..eefa1965d 100755 --- a/xCAT-client/bin/getxcatdocs +++ b/xCAT-client/bin/getxcatdocs @@ -172,7 +172,7 @@ sub runwget { if (/URL:https*:\/\/sourceforge\.net.+\s+->\s+\"(\S+)\"\s+\[/) { print "Downloaded $1.\n"; } else { print; } } - close OUT || die "Error running $cmd: $! $?"; + close OUT || print "Error running $cmd: $! $?\n"; } # Run the xhtml2pdf cmd and filter out some of the silly output @@ -186,5 +186,5 @@ sub runh2p { next if /^Converting\ssourceforge.net/; print; } - close OUT || die "Error running $cmd: $! $?"; + close OUT || print "Error running $cmd: $! $?\n"; }