From 184c9ad3586a5c307c7ff01e630b125213cabe2c Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 15 Aug 2022 17:29:57 +0900 Subject: [PATCH] Fix wrong function name in copy log script The use_deb function does not exist. It should be use's'_debs. Change-Id: I6e0af9c5d19e03a976420da01488da0d451cf14a --- copy_logs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copy_logs.sh b/copy_logs.sh index b77aed2f1..0fd54559c 100755 --- a/copy_logs.sh +++ b/copy_logs.sh @@ -107,7 +107,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 @@ -162,7 +162,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/