소스 검색

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 일 전
부모
커밋
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
 				}
 			}
 		}