Merge pull request #580 from Morganamilo/fix-print

Don't print nothing to do every time
This commit is contained in:
Anna 2018-07-24 00:17:08 +01:00 committed by GitHub
commit 4063cf9282
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,9 @@ func install(parser *arguments) error {
if len(dp.Aur) == 0 {
if !config.CombinedUpgrade {
fmt.Println(" there is nothing to do")
if parser.existsArg("u", "sysupgrade") {
fmt.Println(" there is nothing to do")
}
return nil
}