Merge pull request #1047 from SiM/backup-msg

move BACKUP_CORE_ONLY message to standard output
This commit is contained in:
Alexandre Aubin 2020-09-16 17:43:53 +02:00 committed by GitHub
commit b50bf9d7d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,9 +85,9 @@ ynh_backup() {
then
if [ $BACKUP_CORE_ONLY -eq 1 ]
then
ynh_print_warn --message="$src_path will not be saved, because 'BACKUP_CORE_ONLY' is set."
ynh_print_info --message="$src_path will not be saved, because 'BACKUP_CORE_ONLY' is set."
else
ynh_print_warn --message="$src_path will not be saved, because 'do_not_backup_data' is set."
ynh_print_info --message="$src_path will not be saved, because 'do_not_backup_data' is set."
fi
return 0
fi