Merge "Fix wrong function name in copy log script"

This commit is contained in:
Zuul 2022-08-16 14:47:12 +00:00 committed by Gerrit Code Review
commit 215becb15b
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ if [ -d /var/log/postgresql ] ; then
sudo cp /var/log/postgresql/*log $LOG_DIR/postgres.log
fi
# mysql/mariadb
if use_debs; then
if uses_debs; then
if [ -d /etc/mysql ] ; then
sudo cp -r /etc/mysql $LOG_DIR/etc/
fi
@ -165,7 +165,7 @@ fi
if [ -d /etc/libvirt ]; then
sudo cp -r /etc/libvirt $LOG_DIR/etc/
fi
if use_debs; then
if uses_debs; then
if [ -f /etc/default/libvirtd ]; then
mkdir $LOG_DIR/etc/default
sudo cp /etc/default/libvirtd $LOG_DIR/etc/default/