mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Fixed and simplified "server list" command.
This commit is contained in:
parent
2aec6613bc
commit
f6e4011371
5
msm
5
msm
@ -619,10 +619,7 @@ jargroup_rename() {
|
|||||||
|
|
||||||
# Echos a list of servers in the SERVER_STORAGE_PATH
|
# Echos a list of servers in the SERVER_STORAGE_PATH
|
||||||
server_list() {
|
server_list() {
|
||||||
echo "Servers:"
|
ls -1 "$SERVER_STORAGE_PATH"
|
||||||
for server in "$SERVER_STORAGE_PATH/*"; do
|
|
||||||
echo " $(basename $server)"
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Creates a new server
|
# Creates a new server
|
||||||
|
Loading…
Reference in New Issue
Block a user