This commit is contained in:
spf13 2013-09-30 22:40:15 -04:00
parent 8efb90ebd5
commit 48e1068e3e

View file

@ -45,7 +45,10 @@ var Source, Destination, BaseUrl, CfgFile string
func Execute() { func Execute() {
AddCommands() AddCommands()
Hugo := HugoCmd.ToCommander() Hugo := HugoCmd.ToCommander()
Hugo.Execute() err := Hugo.Execute()
if err != nil {
os.Exit(-1)
}
} }
func AddCommands() { func AddCommands() {