We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6a51b8 commit 2f6e8ceCopy full SHA for 2f6e8ce
1 file changed
func/ip_func.sh
@@ -102,8 +102,7 @@ is_ip_avalable() {
102
ip_status=$(echo "$ip_data" | grep 'STATUS=' | cut -f 2 -d \' )
103
104
# Parsing user data
105
- user_owner=$(grep 'OWNER=' $V_USERS/$user/user.conf | cut -f 2 -d \')
106
- if [ "$user_owner" = "$ip_owner" ] && [ "$ip_status" = 'shared' ]; then
+ if [ 'vesta' = "$ip_owner" ] && [ "$ip_status" = 'shared' ]; then
107
ip_shared='yes'
108
else
109
ip_shared='no'
0 commit comments