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

Fixed premature exit when autoremove detected

It was found that on `autoremove` detection, the program output would be
stopped. Now the flag will be set, but program output will continue to
be printed.
apollo 3 дней назад
Родитель
Сommit
b226dab971
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      aptgrade.go

+ 0 - 1
aptgrade.go

@@ -42,7 +42,6 @@ func run_command(command []string) (bool, error) {
 				fmt.Print(text)
 				if strings.Contains(text, "autoremove") {
 					do_autoremove = true
-					return
 				}
 			}
 		}