You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2020/03/05 18:05:04 UTC
[mynewt-imgmod] branch master updated: Don't print warning if `-q`
specified
This is an automated email from the ASF dual-hosted git repository.
ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-imgmod.git
The following commit(s) were added to refs/heads/master by this push:
new 973568a Don't print warning if `-q` specified
973568a is described below
commit 973568a80eacc8e36220a22b892bedceea1317ed
Author: Christopher Collins <cc...@apache.org>
AuthorDate: Thu Mar 5 09:26:48 2020 -0800
Don't print warning if `-q` specified
---
cli/image_cmds.go | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/cli/image_cmds.go b/cli/image_cmds.go
index 13f2564..12262b0 100644
--- a/cli/image_cmds.go
+++ b/cli/image_cmds.go
@@ -313,8 +313,7 @@ func runHashableCmd(cmd *cobra.Command, args []string) {
}
if (img.Header.Flags & image.IMAGE_F_ENCRYPTED) != 0 {
- fmt.Fprintf(os.Stderr,
- "* Warning: extracting hashable content from an encrypted image\n")
+ iutil.Printf("warning: extracting hashable content from an encrypted image\n")
}
f, err := os.Create(outFilename)