move BACKUP_CORE_ONLY msg to standard output

This commit is contained in:
SiM 2020-09-08 18:10:34 +02:00
parent 50f68e2886
commit 9a2a6385bb

View file

@ -67,9 +67,9 @@ ynh_backup() {
then then
if [ $BACKUP_CORE_ONLY -eq 1 ] if [ $BACKUP_CORE_ONLY -eq 1 ]
then 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 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 fi
return 0 return 0
fi fi