>From 8ca27f3dbeb93c9214c6bb733932f2c6f2e90774 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sun, 7 Nov 2010 23:40:00 +0100 Subject: [PATCH 1/3] * tasktool (tt_rec_check_utility): Fix redirection. --- ChangeLog | 4 ++++ tasktool | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index a9f618f..3ba40fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-11-07 Ralf Wildenhues + + * tasktool (tt_rec_check_utility): Fix redirection. + 2010-11-07 Jose E. Marchesi Tasktool operations. diff --git a/tasktool b/tasktool index 2616cac..5c163a7 100755 --- a/tasktool +++ b/tasktool @@ -312,7 +312,7 @@ tt_rec_check_utility () # Parameters: # $1 => The name of the utility to check. test "$#" -gt "0" && { - ${1} --version 2>&1 > /dev/null < /dev/null || tt_error "'$1' not found" + ${1} --version > /dev/null 2>&1 < /dev/null || tt_error "'$1' not found" } } -- 1.7.3.rc2