mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Fixed as_user_stderr.
Was not passing correct parameters to as_user.
This commit is contained in:
parent
f7603ad052
commit
adccec2f24
2
msm
2
msm
@ -68,7 +68,7 @@ as_user() {
|
|||||||
|
|
||||||
# Executes the command "$1" as SERVER_USER but returns stderr instead
|
# Executes the command "$1" as SERVER_USER but returns stderr instead
|
||||||
as_user_stderr() {
|
as_user_stderr() {
|
||||||
as_user "$1" > /dev/null 2>&1
|
as_user "$@" > /dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
# Echo to stderr
|
# Echo to stderr
|
||||||
|
Loading…
Reference in New Issue
Block a user