We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a67139c commit 1a91d92Copy full SHA for 1a91d92
1 file changed
installScript/check.sh
@@ -50,7 +50,7 @@ function check_env() {
50
function check_config() {
51
echo "Recovering all the configuration... Please wait"
52
OSE_INSTALL_HOSTNAME=`su - $OSE_USER -c "zmhostname"`
53
- OSE_INSTALL_ADDRESS=`grep $OSE_INSTALL_HOSTNAME /etc/hosts|awk '{print $1}'`
+ OSE_INSTALL_ADDRESS=`grep -m 1 $OSE_INSTALL_HOSTNAME /etc/hosts|awk '{print $1}'`
54
OSE_INSTALL_LDAPPASS=`su - $OSE_USER -c "zmlocalconfig -s zimbra_ldap_password"|awk '{print $3}'`
55
56
echo ""
0 commit comments