Просмотр исходного кода

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

Thanks to Philipp Weis (closes: #721477)
Michael Vogt лет назад: 13
Родитель
Сommit
968179cf7b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      debian/apt.cron.daily

+ 1 - 1
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