Fixed and simplified "server list" command.

This commit is contained in:
Marcus Whybrow 2012-05-31 06:00:59 +01:00
parent 2aec6613bc
commit f6e4011371

5
msm
View File

@ -619,10 +619,7 @@ jargroup_rename() {
# Echos a list of servers in the SERVER_STORAGE_PATH
server_list() {
echo "Servers:"
for server in "$SERVER_STORAGE_PATH/*"; do
echo " $(basename $server)"
done
ls -1 "$SERVER_STORAGE_PATH"
}
# Creates a new server