Merge pull request #520 from fkautz/pr_out_removing_unnecessary_error_suppression_code_from_cat

This commit is contained in:
Frederick F. Kautz IV
2015-04-23 20:55:52 -07:00
+1 -5
View File
@@ -62,11 +62,7 @@ func runCatCmd(ctx *cli.Context) {
humanReadable, err := doCatCmd(mcClientManager{}, os.Stdout, sourceURLConfigMap, globalDebugFlag)
if err != nil {
log.Debug.Println(iodine.New(err, nil))
if humanReadable != "" {
console.Fatalln(humanReadable)
} else {
os.Exit(1)
}
console.Fatalln(humanReadable)
}
}