From adccec2f2411bff0162664992a6ef35c4f3580e4 Mon Sep 17 00:00:00 2001 From: Marcus Whybrow Date: Thu, 31 May 2012 01:54:00 +0100 Subject: [PATCH] Fixed as_user_stderr. Was not passing correct parameters to as_user. --- msm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msm b/msm index 9dd8b4f..470c51c 100755 --- a/msm +++ b/msm @@ -68,7 +68,7 @@ as_user() { # Executes the command "$1" as SERVER_USER but returns stderr instead as_user_stderr() { - as_user "$1" > /dev/null 2>&1 + as_user "$@" > /dev/null 2>&1 } # Echo to stderr