mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
fix for userlist
This commit is contained in:
parent
095a9f14ee
commit
f197bc8041
4 changed files with 54 additions and 55 deletions
|
@ -27,7 +27,7 @@ $BIN/v-check-vesta-license >/dev/null
|
|||
if [ -z "$BACKUP_SYSTEM" ]; then
|
||||
exit
|
||||
fi
|
||||
for user in $(ls $VESTA/data/users); do
|
||||
for user in $(grep '@' /etc/passwd |cut -f1 -d:); do
|
||||
check_suspend=$(grep "SUSPENDED='no'" $VESTA/data/users/$user/user.conf)
|
||||
log=$VESTA/log/backup.log
|
||||
if [ ! -z "$check_suspend" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue