mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Merge pull request #40 from jives/master
Fixed wrong user name variable in server_set_jar()
This commit is contained in:
commit
51222fbf26
2
init/msm
2
init/msm
@ -1016,7 +1016,7 @@ server_set_jar() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -z "$jar" ]]; then
|
if [[ ! -z "$jar" ]]; then
|
||||||
as_user "${SERVER_USER[$1]}" "ln -sf \"$jar\" \"${SERVER_JAR[$1]}\""
|
as_user "${SERVER_USER_NAME[$1]}" "ln -sf \"$jar\" \"${SERVER_JAR[$1]}\""
|
||||||
echo "Server \"${SERVER_NAME[$1]}\" is now using \"$jar\"."
|
echo "Server \"${SERVER_NAME[$1]}\" is now using \"$jar\"."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user