From: Sandro Santilli Date: Thu, 4 Aug 2005 16:29:42 +0000 (+0000) Subject: Checked for PSQL run success X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15d95c7b0f9772b570590424b9bebca535486c10;p=postgis Checked for PSQL run success git-svn-id: http://svn.osgeo.org/postgis/branches/pgis_1_0@1858 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/utils/postgis_restore.pl b/utils/postgis_restore.pl index 3aaaf28ca..a8eeca543 100644 --- a/utils/postgis_restore.pl +++ b/utils/postgis_restore.pl @@ -697,4 +697,4 @@ print "Restoring ascii dump $dumpascii\n"; open(INPUT, "<$dumpascii") || die "Can't read $postgissql\n"; while() { print PSQL; } close(INPUT); -close(PSQL); +close(PSQL) || die "psql run failed\n"