mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 12:18:02 +03:00
Add details to temp dir removal error
This commit is contained in:
parent
40c7d30c2e
commit
496bf3ecb3
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -61,7 +61,7 @@ func main() {
|
|||
if utils.DoesFileExists(config.TempDir) {
|
||||
err := os.RemoveAll(config.TempDir)
|
||||
if err != nil {
|
||||
log.Fatalln("Unable to remove temp dir!")
|
||||
log.Fatalln("Unable to remove temp dir! Check permissions.", config.TempDir, err)
|
||||
}
|
||||
}
|
||||
if err := os.Mkdir(config.TempDir, 0o700); err != nil {
|
||||
|
|
Loading…
Reference in a new issue