In fact "-x" has finished the check, which makes check_executable always
successful. Meanwhile, the checking is also done when installing, so
removing this extra check.
Signed-off-by: Pingfan Liu <piliu(a)redhat.com>
---
kdumpctl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kdumpctl b/kdumpctl
index 181c7d6..f56d463 100755
--- a/kdumpctl
+++ b/kdumpctl
@@ -383,7 +383,7 @@ check_files_modified()
done
fi
- check_exist "$files" && check_executable "$EXTRA_BINS $PRE_FILES
$POST_FILES"
+ check_exist "$files" && check_executable "$EXTRA_BINS"
[ $? -ne 0 ] && return 2
check_list="$files $HOOKS_DIR"
--
2.25.4