From 6408f8eb592f0d4885ce607ad874c29b284440c5 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 5 Nov 2014 08:16:56 +0100 Subject: 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). --- tester/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit