Skip to content

Commit b080d08

Browse files
authored
use "" instead of /tmp (#976)
Signed-off-by: perdasilva <[email protected]>
1 parent d42dcfa commit b080d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/lib/tmp/copy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
// CopyTmpDB reads the file at the given path and copies it to a tmp directory, returning the copied file path or an err
1111
func CopyTmpDB(original string) (path string, err error) {
12-
dst, err := ioutil.TempFile("/tmp", "db-")
12+
dst, err := ioutil.TempFile("", "db-")
1313
if err != nil {
1414
return "", err
1515
}

0 commit comments

Comments
 (0)