From 167b9fb7e37a101f48def96323960eb0123144be Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 9 Dec 2013 09:39:57 -0500 Subject: [PATCH] Fixed color output when use --noterm in fatal --- README.md | 2 +- gopm.go | 2 +- log/logP.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1cd774352..a2ea519a1 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ USAGE: gopm [global options] command [command options] [arguments...] VERSION: - 0.6.0.1206 + 0.6.0.1209 COMMANDS: get fetch remote package(s) and dependencies to local repository diff --git a/gopm.go b/gopm.go index 19d88b883..c3d3a7893 100644 --- a/gopm.go +++ b/gopm.go @@ -29,7 +29,7 @@ import ( // Test that go1.1 tag above is included in builds. main.go refers to this definition. const go11tag = true -const APP_VER = "0.6.0.1207" +const APP_VER = "0.6.0.1209" // //cmd.CmdSearch, // cmdClean, diff --git a/log/logP.go b/log/logP.go index 10cd9ab99..406718ad6 100644 --- a/log/logP.go +++ b/log/logP.go @@ -32,7 +32,7 @@ func errorP(hl, msg string) { } func fatal(hl, msg string) { - Error(hl, msg) + errorP(hl, msg) os.Exit(2) }