We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ab9fc5 commit 76319e5Copy full SHA for 76319e5
bin/v-backup-users
@@ -28,6 +28,9 @@ if [ -z "$BACKUP_SYSTEM" ]; then
28
exit
29
fi
30
for user in $(grep '@' /etc/passwd |cut -f1 -d:); do
31
+ if [ ! -f "$VESTA/data/users/$user/user.conf" ]; then
32
+ continue;
33
+ fi
34
check_suspend=$(grep "SUSPENDED='no'" $VESTA/data/users/$user/user.conf)
35
log=$VESTA/log/backup.log
36
if [ ! -z "$check_suspend" ]; then
0 commit comments