Merge pull request #3 from josephyzhou/develop

Migrated to here
This commit is contained in:
Jeffrey Wilcke
2014-02-18 16:04:45 +01:00
2 changed files with 31 additions and 1 deletions

View File

@ -38,7 +38,7 @@ func ReadConfig(base string) *config {
_, err := os.Stat(path)
if err != nil {
if os.IsNotExist(err) {
log.Printf("Debug logging directory %s doesn't exist, creating it", path)
log.Printf("Debug logging directory %s doesn't exist, creating it\n", path)
os.Mkdir(path, 0777)
}
}