From 6e9470727bda2cbba8597f00a68eaa0b474adb03 Mon Sep 17 00:00:00 2001 From: Roman Kyrylych Date: Mon, 5 Nov 2007 18:16:31 +0200 Subject: [PATCH] Workaround for a weird bug when $? is always 0 after running $* Signed-off-by: Roman Kyrylych --- functions | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/functions b/functions index 8b5ecf1..eaa837b 100644 --- a/functions +++ b/functions @@ -115,8 +115,7 @@ stat_die() { status() { stat_busy "$1" - shift - $* >/dev/null 2>&1 + $1 $2 $3 $4 $5 $6 $7 $8 $9 >/dev/null 2>&1 if [ $? -eq 0 ]; then stat_done return 0 -- 1.5.3.5