From 8328c44c39efc7fa0a3891d09a542769fe5360da Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Tue, 25 Feb 2014 00:11:44 +0400 Subject: [PATCH] Use progress to output message to fix order of messages on screen. --- cmd/mirror_update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mirror_update.go b/cmd/mirror_update.go index 43c79100..c5879724 100644 --- a/cmd/mirror_update.go +++ b/cmd/mirror_update.go @@ -51,7 +51,7 @@ func aptlyMirrorUpdate(cmd *commander.Command, args []string) error { 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 }