summaryrefslogtreecommitdiff
path: root/functions/cache.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/cache.sh')
-rwxr-xr-xfunctions/cache.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/cache.sh b/functions/cache.sh
index 9e70f2c92..9e92a94b3 100755
--- a/functions/cache.sh
+++ b/functions/cache.sh
@@ -37,7 +37,7 @@ Save_cache ()
if [ "${LH_CACHE}" = "enabled" ] && [ "${LH_CACHE_PACKAGES}" = "enabled" ]
then
# Cleaning current cache
- Chroot "apt-get autoclean"
+ Chroot chroot "apt-get autoclean"
if ls chroot/var/cache/apt/archives/*.deb > /dev/null 2>&1
then