summaryrefslogtreecommitdiff
path: root/debian/apt.cron.daily
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-09-01 18:34:34 +0200
committerMichael Vogt <mvo@debian.org>2013-09-01 18:34:34 +0200
commit968179cf7b9e1a633c283745da15755d8de4acbd (patch)
tree6acb0e596b01b87d27b878694aa4de8cdcb43205 /debian/apt.cron.daily
parentc2ffd51cdc4b3343aa38f3ce58153d4e6338983c (diff)
Remove invalid "-f" option for apt-get check
Thanks to Philipp Weis (closes: #721477)
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r--debian/apt.cron.daily2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index 2665b6579..3f9df9d7e 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -375,7 +375,7 @@ fi
check_power || exit 0
# check if we can lock the cache and if the cache is clean
-if which apt-get >/dev/null && ! eval apt-get check -f $XAPTOPT $XSTDERR ; then
+if which apt-get >/dev/null && ! eval apt-get check $XAPTOPT $XSTDERR ; then
debug_echo "error encountered in cron job with \"apt-get check\"."
exit 0
fi