[Po4a-commits] po4a/lib/Locale/Po4a Sgml.pm,1.59,1.60

Martin Quinson po4a-devel@lists.alioth.debian.org
Mon, 30 May 2005 15:59:33 +0000


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv4365

Modified Files:
	Sgml.pm 
Log Message:
Stupid me, only die when nsgmls failed, not all the time

Index: Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- Sgml.pm	30 May 2005 07:05:22 -0000	1.59
+++ Sgml.pm	30 May 2005 15:59:31 -0000	1.60
@@ -864,7 +864,7 @@
     # What to do after parsing
     $self->pushline($buffer);
     close(IN);
-    die wrap_mod("po4a::sgml", dgettext("po4a","nsgmls is missing or non-functional"));
+    die wrap_mod("po4a::sgml", dgettext("po4a","nsgmls is missing or non-functional")) if ($? != 0);
     unlink ($tmpfile) unless $debug{'refs'};
 }