Skip to content

Commit

Permalink
Fix backup copy
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Aug 25, 2023
1 parent 28193e0 commit da7cc39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/internal/database/meilisearch/meilisearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func (db *Meilisearch) moveDumpToBackupDir() error {

backupDst := path.Join(constants.BackupDir, latestStableDump)
db.log.Infow("move dump", "from", db.latestStableDumpDst, "to", backupDst)
copy := exec.Command("mv", "-v", db.latestStableDumpDst, backupDst)
copy := exec.Command("mv", "-v", db.latestStableDumpDst, backupDst) // nolint:gosec
copy.Stdout = os.Stdout
copy.Stderr = os.Stderr
err = copy.Run()
Expand Down

0 comments on commit da7cc39

Please sign in to comment.