fixed #85 - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 48e1068e3e7082615df462c1df186e6045f3ca45
DIR parent 8efb90ebd5ff0cf8d498ce78ec443ee01ea01a38
HTML Author: spf13 <steve.francia@gmail.com>
Date: Mon, 30 Sep 2013 22:40:15 -0400
fixed #85
Diffstat:
M commands/hugo.go | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
DIR diff --git a/commands/hugo.go b/commands/hugo.go
@@ -45,7 +45,10 @@ var Source, Destination, BaseUrl, CfgFile string
func Execute() {
AddCommands()
Hugo := HugoCmd.ToCommander()
- Hugo.Execute()
+ err := Hugo.Execute()
+ if err != nil {
+ os.Exit(-1)
+ }
}
func AddCommands() {