HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Handle interval=0 correctly in apt.cron.daily:check_stamp
[ntk/apt.git]
/
debian
/
apt.cron.daily
diff --git
a/debian/apt.cron.daily
b/debian/apt.cron.daily
index
f163f9f
..
bb6c015
100644
(file)
--- 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