Skip to content

Commit

Permalink
Merge pull request #172 from vania-pooh/master
Browse files Browse the repository at this point in the history
One more logging change
  • Loading branch information
aandryashin authored Feb 20, 2018
2 parents 7a826a4 + 47658ac commit 3677a57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,9 @@ func init() {
showVersion()
os.Exit(0)
}
log.Printf("[-] [-] [INIT] [-] [-] [-] [-] [-] [-] [Users file is \"%s\"]\n", users)
if !fileExists(users) && !guestAccessAllowed {
log.Fatalf("[-] [-] [INIT] [-] [-] [-] [-] [-] [-] [Users file \"%s\" does not exist]\n", users)
} else {
log.Printf("[-] [-] [INIT] [-] [-] [-] [-] [-] [-] [Users file is \"%s\"]\n", users)
}
if err := loadQuotaFiles(quotaDir); err != nil {
log.Fatalf("[-] [-] [INIT] [-] [-] [-] [-] [-] [-] [%v]\n", err)
Expand Down

0 comments on commit 3677a57

Please sign in to comment.