Skip to content

Commit c766469

Browse files
committed
fix test in upgrade script
1 parent 83cebba commit c766469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/upgrade/versions/latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ for user in $($HESTIA/bin/v-list-sys-users plain); do
114114
[[ -d /home/${user}/ ]] || continue
115115

116116
# skip users without web domains
117-
[[ ls /home/${user}/web/*/public_*html >/dev/null 2>&1 ]] || continue
117+
ls /home/${user}/web/*/public_*html >/dev/null 2>&1 || continue
118118

119119
chown --silent --no-dereference :www-data /home/$user/web/*/public_*html
120120
done

0 commit comments

Comments
 (0)