Skip to content

Commit 925819c

Browse files
authored
upload_prx_to_disk: show failure notification
1 parent 0b545cc commit 925819c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

installer/source/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,10 @@ static void write_blob(const char* path, const void* blob, const size_t blobsz)
318318
write(fd, blob,blobsz);
319319
close(fd);
320320
}
321+
else
322+
{
323+
printf_notification("Failed to write %s!\nFile descriptor %d", path, fd);
324+
}
321325
}
322326

323327
static void upload_prx_to_disk(void)

0 commit comments

Comments
 (0)