mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Changed a directory test to look specifically for a directory.
This commit is contained in:
parent
524f22f781
commit
5c2965cba7
2
init/msm
2
init/msm
@ -718,7 +718,7 @@ server_create() {
|
||||
# $2: The server name to delete
|
||||
server_delete() {
|
||||
if is_valid_name "$1"; then
|
||||
if [[ -e "$SERVER_STORAGE_PATH/$1" ]]; then
|
||||
if [[ -d "$SERVER_STORAGE_PATH/$1" ]]; then
|
||||
printf "Are you sure you want to delete this server and its worlds (note: backups are preserved) [y/N]: "
|
||||
|
||||
read answer
|
||||
|
Loading…
Reference in New Issue
Block a user