mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Fixed a bug in the server "jar" command.
Prevented specifying a jar file name.
This commit is contained in:
parent
4f354a078b
commit
223f589f9f
2
init/msm
2
init/msm
@ -944,7 +944,7 @@ server_backup() {
|
|||||||
# $2: The name of the jar group
|
# $2: The name of the jar group
|
||||||
# $3: Optionally, a specific jar to use.
|
# $3: Optionally, a specific jar to use.
|
||||||
server_set_jar() {
|
server_set_jar() {
|
||||||
if [ -e "$JAR_STORAGE_PATH/$3" ]; then
|
if [ -e "$JAR_STORAGE_PATH/$2" ]; then
|
||||||
|
|
||||||
if [ -z "$3" ]; then
|
if [ -z "$3" ]; then
|
||||||
# If a specific jar file is not mentioned
|
# If a specific jar file is not mentioned
|
||||||
|
Loading…
Reference in New Issue
Block a user