Log missing theme as FATAL

See #1234
This commit is contained in:
Bjørn Erik Pedersen 2015-07-13 10:38:28 +02:00
parent 029cdb68f5
commit 354192d2b8

View file

@ -281,8 +281,7 @@ func InitializeConfig() {
themeDir := helpers.GetThemeDir()
if themeDir != "" {
if _, err := os.Stat(themeDir); os.IsNotExist(err) {
jww.ERROR.Println("Unable to find theme Directory:", themeDir)
os.Exit(1)
jww.FATAL.Fatalln("Unable to find theme Directory:", themeDir)
}
}