mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Found another function to remove subshell from.
This commit is contained in:
parent
7bbca19dbc
commit
7ac5827948
6
init/msm
6
init/msm
@ -1325,7 +1325,8 @@ manager_stop_all_servers_now() {
|
|||||||
# Get the value of a global manager property
|
# Get the value of a global manager property
|
||||||
# $1: The name of the property
|
# $1: The name of the property
|
||||||
manager_property() {
|
manager_property() {
|
||||||
eval echo "\$SETTINGS_$1"
|
unset RETURN
|
||||||
|
eval RETURN=\"\$SETTINGS_$1\"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1405,7 +1406,8 @@ command_version() {
|
|||||||
# Displays config values used by MSM
|
# Displays config values used by MSM
|
||||||
command_config() {
|
command_config() {
|
||||||
for ((i=0; i<$SETTING_COUNT; i++)); do
|
for ((i=0; i<$SETTING_COUNT; i++)); do
|
||||||
echo "${SETTING_NAME[$i]}=\"$(manager_property "${SETTING_NAME[$i]}")\""
|
manager_property "${SETTING_NAME[$i]}"
|
||||||
|
echo "${SETTING_NAME[$i]}=\"$RETURN\""
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user