Skip to content

Commit

Permalink
Tweak first time setup check.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmemstr committed Mar 19, 2022
1 parent 1d68329 commit b0fc332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func main() {

// Check if this is the first time Pogo has been run
// with a lockfile
if _, err := os.Stat("./assets/.lock"); os.IsNotExist(err) {
if _, err := os.Stat("./assets/.lock"); err != nil {
fmt.Println("This looks like your first time running Pogo, give me a second to set myself up.")
Setup()
}
Expand Down

0 comments on commit b0fc332

Please sign in to comment.