]> granicus.if.org Git - postgis/commitdiff
Checked for PSQL run success
authorSandro Santilli <strk@keybit.net>
Thu, 4 Aug 2005 16:29:42 +0000 (16:29 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 4 Aug 2005 16:29:42 +0000 (16:29 +0000)
git-svn-id: http://svn.osgeo.org/postgis/branches/pgis_1_0@1858 b70326c6-7e19-0410-871a-916f4a2858ee

utils/postgis_restore.pl

index 3aaaf28caa56ee0ceefbd2d21cf5c31e7ce718bf..a8eeca543c6fc4b00d016f21277b3065d1baaa1a 100644 (file)
@@ -697,4 +697,4 @@ print "Restoring ascii dump $dumpascii\n";
 open(INPUT, "<$dumpascii") || die "Can't read $postgissql\n";
 while(<INPUT>) { print PSQL; }
 close(INPUT);
-close(PSQL);
+close(PSQL) || die "psql run failed\n"