Skip to content

Commit

Permalink
update: improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
lareii committed Dec 6, 2023
1 parent a311c9c commit 0c166b0
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 @@ -40,9 +40,9 @@ func init() {
var ok string
fmt.Scan(&ok)

if ok == "y" {
if ok[0] == 'y' {
break
} else if ok == "n" {
} else if ok[0] == 'n' {
os.Exit(0)
} else {
println("nuh uh")
Expand Down

0 comments on commit 0c166b0

Please sign in to comment.