Use progress to output message to fix order of messages on screen.

This commit is contained in:
Andrey Smirnov
2014-02-25 00:11:44 +04:00
parent c06e69a485
commit 8328c44c39
+1 -1
View File
@@ -51,7 +51,7 @@ func aptlyMirrorUpdate(cmd *commander.Command, args []string) error {
return fmt.Errorf("unable to update: %s", err) return fmt.Errorf("unable to update: %s", err)
} }
fmt.Printf("\nMirror `%s` has been successfully updated.\n", repo.Name) context.progress.Printf("\nMirror `%s` has been successfully updated.\n", repo.Name)
return err return err
} }