Skip to content

Commit

Permalink
Fix no backups flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Raggaer committed Feb 23, 2019
1 parent d819679 commit a7e6a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion save.go
Expand Up @@ -20,7 +20,7 @@ func databaseChangedSaveAlert(f *form, answer string) {
activeForm = nil
}()
// First we backup the database
if doNotBackups {
if !doNotBackups {
if err := backupDatabase(); err != nil {
fmt.Println("Unable to backup database:")
fmt.Println(err.Error())
Expand Down

0 comments on commit a7e6a55

Please sign in to comment.