Tired of seeing this warning message

This commit is contained in:
Kayou 2019-04-10 12:15:21 +02:00 committed by GitHub
parent e2ea61aac2
commit b7bf951538
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,6 @@ source /usr/share/yunohost/helpers
backup_dir="${1}/conf/cron"
# Backup the configuration
for f in $(ls -1B /etc/cron.d/yunohost*); do
for f in $(ls -1B /etc/cron.d/yunohost* 2> /dev/null); do
ynh_backup "$f" "${backup_dir}/${f##*/}"
done