Skip to content

Commit

Permalink
log that data was ignored only when the data was provided
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Mar 27, 2020
1 parent f4d0401 commit 208c669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinode-db/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func main() {

if !*upgrade {
genDb(&data)
} else {
} else if len(data.Users) > 0 {
log.Println("Sample data was ignored. All done.")
}
os.Exit(0)
Expand Down

0 comments on commit 208c669

Please sign in to comment.