summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_local-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_local-hooks')
-rwxr-xr-xhelpers/lh_chroot_local-hooks2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_local-hooks b/helpers/lh_chroot_local-hooks
index b0f9e50..0b8cd52 100755
--- a/helpers/lh_chroot_local-hooks
+++ b/helpers/lh_chroot_local-hooks
@@ -43,7 +43,7 @@ Check_lockfile .lock
Create_lockfile .lock
# Processing local-hooks
-if ls config/chroot_local-hooks/* > /dev/null 2>&1
+if Find_files config/chroot_local-hooks/*
then
for HOOK in config/chroot_local-hooks/*
do