summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_local-patches
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_local-patches')
-rwxr-xr-xhelpers/lh_chroot_local-patches2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_local-patches b/helpers/lh_chroot_local-patches
index b40e114e1..ead253ffc 100755
--- a/helpers/lh_chroot_local-patches
+++ b/helpers/lh_chroot_local-patches
@@ -42,7 +42,7 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-if ls -A config/chroot_local-patches/ | grep -qs . > /dev/null 2>&1
+if Find_files config/chroot_local-patches/
then
# Restoring cache
Restore_cache cache/packages_chroot