Fix wrong function name in copy log script
The use_deb function does not exist. It should be use's'_debs. Change-Id: I6e0af9c5d19e03a976420da01488da0d451cf14a
This commit is contained in:
parent
ef9c0eaecf
commit
184c9ad358
@ -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/
|
||||
|
Loading…
x
Reference in New Issue
Block a user