summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2014-11-05 08:16:56 +0100
committerPavel Raiskup <praiskup@redhat.com>2014-11-05 08:16:56 +0100
commit6408f8eb592f0d4885ce607ad874c29b284440c5 (patch)
tree18e784cab943383a8e0c58477a7c406694ecfc77
parented9a4b098b23e4b76284c8f9f1561dc41090da17 (diff)
downloadpostgresql-setup-tests-6408f8eb592f0d4885ce607ad874c29b284440c5.tar.gz
postgresql-setup-tests-6408f8eb592f0d4885ce607ad874c29b284440c5.tar.xz
postgresql-setup-tests-6408f8eb592f0d4885ce607ad874c29b284440c5.zip
tester/run: avoid useless error output
* tester/run (die): Do not throw 'permission denied' message if the die was called too early (and the result dir is still not created).
-rwxr-xr-xtester/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/tester/run b/tester/run
index 2aa9835..d892a7c 100755
--- a/tester/run
+++ b/tester/run
@@ -50,7 +50,7 @@ info()
die()
{
echo "$@" >&2
- echo "exit_status: 2" >> "$DTF_RESULTS_YML"
+ echo 2>/dev/null "exit_status: 2" >> "$DTF_RESULTS_YML"
exit 2
}