Skip to content

Commit b3035b2

Browse files
committed
Fix reference to tmpfile in user message
1 parent 6dabcdd commit b3035b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,9 @@ func fixPermissions(root string) error {
277277
func downloadAndInstall(dl *GoDownload) error {
278278
tmpfile, shasum, err := downloadFile(dl)
279279
if err != nil {
280-
return fmt.Errorf("tmpfile download failed: %v", err)
280+
return fmt.Errorf("temporary file download failed: %v", err)
281281
} else {
282-
fmt.Printf("tmpfile downloaded successfully into %v\n", tmpfile)
282+
fmt.Printf("Temporary file downloaded successfully into %v\n", tmpfile)
283283
}
284284
if shasum != dl.SHA256 {
285285
return fmt.Errorf("bad checksum, expected %s got %s", dl.SHA256, shasum)

0 commit comments

Comments
 (0)