From 5e56a7f584e2dc5abf235d327c867732239aa7b4 Mon Sep 17 00:00:00 2001 From: Rogan Hamby Date: Thu, 6 Jun 2019 10:56:15 -0400 Subject: [PATCH] add message to check for it being XML --- mig-bin/mig-stagebibs | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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 -- 1.7.2.5