Create sentries directory if not exist (fix #19)
This commit is contained in:
parent
e0c08b5760
commit
f9d8cea66f
2
main.go
2
main.go
|
|
@ -36,6 +36,8 @@ func init() {
|
||||||
xmpp.Secret = mapConfig["xmpp_secret"]
|
xmpp.Secret = mapConfig["xmpp_secret"]
|
||||||
xmpp.Debug = mapConfig["xmpp_debug"] == "true"
|
xmpp.Debug = mapConfig["xmpp_debug"] == "true"
|
||||||
gateway.XmppJidComponent = xmpp.JidStr
|
gateway.XmppJidComponent = xmpp.JidStr
|
||||||
|
|
||||||
|
os.MkdirAll(gateway.SentryDirectory, 0700)
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue