ref: 48e1068e3e7082615df462c1df186e6045f3ca45
parent: 8efb90ebd5ff0cf8d498ce78ec443ee01ea01a38
author: spf13 <[email protected]>
date: Mon Sep 30 18:40:15 EDT 2013
fixed #85
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -45,7 +45,10 @@
func Execute() {
AddCommands()
Hugo := HugoCmd.ToCommander()
- Hugo.Execute()
+ err := Hugo.Execute()
+ if err != nil {
+ os.Exit(-1)
+ }
}
func AddCommands() {