mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 13:54:26 -07:00
removed unnecessary sed expr defenition
This commit is contained in:
parent
5afa0f4a00
commit
861585bcca
30 changed files with 74 additions and 74 deletions
|
@ -47,7 +47,7 @@ for ip in $ip_list; do
|
|||
ip_usage=$(grep -H $ip $VESTA/data/users/*/web.conf)
|
||||
web_domains=$(echo "$ip_usage"| wc -l)
|
||||
sys_users=$(echo "$ip_usage" | cut -f7 -d/ | sort -u |\
|
||||
tr '\n' ',' | sed -e "s/,$//g")
|
||||
tr '\n' ',' | sed "s/,$//g")
|
||||
|
||||
# Update counters
|
||||
update_ip_value '$U_WEB_DOMAINS' "$web_domains"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue