Explorar o código

Remove invalid "-f" option for apt-get check

Thanks to Philipp Weis (closes: #721477)
Michael Vogt %!s(int64=13) %!d(string=hai) anos
pai
achega
968179cf7b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      debian/apt.cron.daily

+ 1 - 1
debian/apt.cron.daily

@@ -375,7 +375,7 @@ fi
 check_power || exit 0
 check_power || exit 0
 
 
 # check if we can lock the cache and if the cache is clean
 # 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\"."
     debug_echo "error encountered in cron job with \"apt-get check\"."
     exit 0
     exit 0
 fi
 fi