dgit (0.21~~iwj) unstable; urgency=low
+ * Use failedcmd to report errors when ssh psql fails. Closes:#734281.
* Add `Testsuite: autopkgtest' to debian/control. (This will only have
the right effect with recent enought dpkg, and will generate a warning
with earlier versions of dpkg.
printdebug("$debugprefix>|$_|\n");
push @rows, $_;
}
- $!=0; $?=0; close P or die "$! $?";
+ $!=0; $?=0; close P or failedcmd @cmd;
@rows or die;
my $nrows = pop @rows;
$nrows =~ s/^\((\d+) rows?\)$/$1/ or die "$nrows ?";