From d8c30c549ea38803af71926c738d80ae452c9782 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 1 Nov 2014 17:45:43 +0800 Subject: [PATCH] . --- conf/wide.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/conf/wide.go b/conf/wide.go index bccf642..78f6c04 100644 --- a/conf/wide.go +++ b/conf/wide.go @@ -338,7 +338,11 @@ func UpdateCustomizedConf(username string) { defer fout.Close() - t.Execute(fout, model) + if err := t.Execute(fout, model); nil != err { + glog.Error(err) + + os.Exit(-1) + } } // initWorkspaceDirs initializes the directories of master workspace, users' workspaces.