Fixed as_user_stderr.

Was not passing correct parameters to as_user.
This commit is contained in:
Marcus Whybrow 2012-05-31 01:54:00 +01:00
parent f7603ad052
commit adccec2f24

2
msm
View File

@ -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