diff --git a/pkg/lib/tmp/copy.go b/pkg/lib/tmp/copy.go index debb3f0d6..52a247f41 100644 --- a/pkg/lib/tmp/copy.go +++ b/pkg/lib/tmp/copy.go @@ -9,7 +9,7 @@ import ( // CopyTmpDB reads the file at the given path and copies it to a tmp directory, returning the copied file path or an err func CopyTmpDB(original string) (path string, err error) { - dst, err := ioutil.TempFile("/tmp", "db-") + dst, err := ioutil.TempFile("", "db-") if err != nil { return "", err }