afficher les erreurs en cas d'erreur de sauvegarde de la base de donnée

This commit is contained in:
Emmanuel Garette 2019-06-06 14:38:48 +02:00
parent efc3f5848c
commit b1bcd05792

View File

@ -19,7 +19,7 @@ for databasename in $DATABASES; do
continue
;;
*)
mysqldump --defaults-file=/etc/mysql/debian.cnf --databases $databasename --flush-privileges --create-options -Q -c $OPTION 2>/dev/null > $MYSQLSAVDIR/$databasename.sql
mysqldump --defaults-file=/etc/mysql/debian.cnf --databases $databasename --flush-privileges --create-options -Q -c $OPTION > $MYSQLSAVDIR/$databasename.sql
;;
esac
done