Skip to content

Commit

Permalink
fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
Blad3Mak3r committed Jun 15, 2022
1 parent 9b474a1 commit fabb50c
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 @@ -154,10 +154,10 @@ func buildCommand(destination string) *exec.Cmd {

if config.Database.Name != "all" {
cmdArray = append(cmdArray, fmt.Sprintf("%s\"", config.Database.Name), ">", destination)
} else {
cmdArray = append(cmdArray, "\"", ">", destination)
}

cmdArray = append(cmdArray, "\"", ">", destination)

return exec.Command(cmdArray[0], cmdArray[1:]...)
}
}
Expand Down

0 comments on commit fabb50c

Please sign in to comment.