summaryrefslogtreecommitdiff
path: root/debian/cron.daily
diff options
context:
space:
mode:
Diffstat (limited to 'debian/cron.daily')
-rw-r--r--debian/cron.daily2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/cron.daily b/debian/cron.daily
index ae41795..5255691 100644
--- a/debian/cron.daily
+++ b/debian/cron.daily
@@ -5,7 +5,7 @@ if [ -x /usr/bin/etckeeper ] && [ -e /etc/etckeeper/etckeeper.conf ]; then
if [ "$AVOID_DAILY_AUTOCOMMITS" != "1" ]; then
# avoid autocommit if an install run is in progress
lockfile=/var/cache/etckeeper/packagelist.pre-install
- if [ -e "$pe" ] && [ -n "$(find "$lockfile" -mtime +1)" ]; then
+ if [ -e "$lockfile" ] && [ -n "$(find "$lockfile" -mtime +1)" ]; then
rm -f "$lockfile" # stale
fi
if [ ! -e "$lockfile" ]; then