Skip to content

Commit

Permalink
Fixed more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Apr 17, 2016
1 parent 4f1b6d4 commit 224fce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func main() {
// set fingerprint things
f.Time = time.Now().UnixNano() / 1000000
f.Username = strings.ToLower(c.String("user"))
verbose = !c.Bool("debug")
verbose = !c.Bool("nodebug")
setupLogging()
}
app.Run(os.Args)
Expand All @@ -215,7 +215,7 @@ func main() {
fmt.Println("\nNeed to run with sudo: 'sudo ./fingerprint'")
fmt.Println("")
} else {
log.Notice("Are you sure this computer has WiFi enabled?")
log.Critical("Are you sure this computer has WiFi enabled?")
}
log.Fatal(string(out), err)
}
Expand Down

0 comments on commit 224fce1

Please sign in to comment.