Fix wrong path checked

We should check whether the file being captured actually exists.
Change-Id: I12ae91ac84fdd6ff1eee195b88e257819379ce79
This commit is contained in:
Takashi Kajinami
2023年11月10日 22:42:23 +09:00
parent b1d9c94698
commit 71e569881e

View File

@@ -214,7 +214,7 @@ if uses_debs ; then
done
elif is_fedora; then
for f in ovn-northd ovn-controller ; do
if [ -f /etc/sysconfig/ovn-northd ]; then
if [ -f /etc/sysconfig/$f ]; then
mkdir -p $LOG_DIR/etc/sysconfig
sudo cp /etc/sysconfig/$f $LOG_DIR/etc/sysconfig/
fi
Reference in New Issue
openstack/puppet-openstack-integration
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.