Skip to content

Commit

Permalink
utils fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Jimenez (Admin) committed Mar 28, 2024
1 parent 455caf0 commit 79763e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func validateCloneArgs(args []string, originDb string, targetDb string) error {

func cleanup() {
filename := os.Getenv("FILENAME")
if err := os.Remove(filename); err != nil {
if err := os.Remove("./"+filename); err != nil {
fmt.Println(err)
os.Exit(1)
}
Expand Down

0 comments on commit 79763e0

Please sign in to comment.