Skip to content

Commit 652754e

Browse files
committed
bugfixes found while migration on linkjunk
1 parent e96a2d0 commit 652754e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bin/v_list_sys_interfaces

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ source $VESTA/func/main.sh
1818
# Json function
1919
json_list_iface() {
2020
dev=$(cat /proc/net/dev |grep : |cut -f 1 -d : |tr -d ' ' |grep -v lo)
21-
int_counter=$(echo "$interfaces" | wc -l)
21+
int_counter=$(echo "$dev" | wc -l)
2222
i=1
2323
echo '['
2424
for interface in $dev; do

func/domain.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ upd_web_domain_values() {
367367
group="$user"
368368
email="$user@$domain"
369369
docroot="$HOMEDIR/$user/web/$domain/public_html"
370+
sdocroot=$docroot
370371
if [ "$SSL_HOME" = 'single' ]; then
371372
sdocroot="$HOMEDIR/$user/web/$domain/public_shtml" ;
372373
fi

0 commit comments

Comments
 (0)