summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/apt.cron.daily4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index f163f9f36..bb6c0151e 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -8,6 +8,10 @@ check_stamp()
stamp="$1"
interval="$2"
+ if [ $interval -eq 0 ]; then
+ return 1
+ fi
+
if [ ! -f $stamp ]; then
return 0
fi