The following false alarm can be observed:
/etc/kdump/pre.d/* is not executable
Suppress it.
Signed-off-by: Pingfan Liu <piliu(a)redhat.com>
---
dracut-module-setup.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh
index 2454463..fbbd21a 100755
--- a/dracut-module-setup.sh
+++ b/dracut-module-setup.sh
@@ -419,7 +419,7 @@ kdump_install_pre_post_conf() {
for file in /etc/kdump/pre.d/*; do
if [ -x "$file" ]; then
dracut_install $file
- else
+ elif [ $file != "/etc/kdump/pre.d/*" ]; then
echo "$file is not executable"
fi
done
@@ -429,7 +429,7 @@ kdump_install_pre_post_conf() {
for file in /etc/kdump/post.d/*; do
if [ -x "$file" ]; then
dracut_install $file
- else
+ elif [ $file != "/etc/kdump/post.d/*" ]; then
echo "$file is not executable"
fi
done
--
2.7.5