From: Rogan Hamby Date: Thu, 6 Jun 2019 14:56:15 +0000 (-0400) Subject: add message to check for it being XML X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=5e56a7f584e2dc5abf235d327c867732239aa7b4 add message to check for it being XML --- diff --git a/mig-bin/mig-stagebibs b/mig-bin/mig-stagebibs index 0c9bdfd..f706d7d 100755 --- a/mig-bin/mig-stagebibs +++ b/mig-bin/mig-stagebibs @@ -104,6 +104,7 @@ while(my $line = <$xml>) { } close $xml; +if ($i == 0) { print "No XML was processed, are you sure this is an XML file?\n"; } print "Finis.\n"; # beyond here be functions