Skip to content

Commit afd5193

Browse files
Merge pull request hestiacp#826 from onbalt/master
Fix not sending "backup has been completed" mail
2 parents b918f04 + 20e25b4 commit afd5193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-backup-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ update_user_value "$user" '$U_BACKUPS' "$U_BACKUPS"
812812
if [ -e "$BACKUP/$user.log" ]; then
813813
subj="$user → backup has been completed"
814814
email=$(get_user_value '$CONTACT')
815-
cat $BACKUP/$user.log #|$SENDMAIL -s "$subj" $email $notify
815+
cat $BACKUP/$user.log |$SENDMAIL -s "$subj" $email $notify
816816
rm $BACKUP/$user.log
817817
fi
818818

0 commit comments

Comments
 (0)