mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 06:35:32 +03:00
u3: print errors while deleting snapshot patch
This commit is contained in:
parent
284addf159
commit
58805b8cef
@ -433,10 +433,16 @@ _ce_patch_delete(void)
|
||||
c3_c ful_c[8193];
|
||||
|
||||
snprintf(ful_c, 8192, "%s/.urb/chk/control.bin", u3P.dir_c);
|
||||
c3_unlink(ful_c);
|
||||
if ( unlink(ful_c) ) {
|
||||
fprintf(stderr, "loom: failed to delete control.bin: %s\r\n",
|
||||
strerror(errno));
|
||||
}
|
||||
|
||||
snprintf(ful_c, 8192, "%s/.urb/chk/memory.bin", u3P.dir_c);
|
||||
c3_unlink(ful_c);
|
||||
if ( unlink(ful_c) ) {
|
||||
fprintf(stderr, "loom: failed to remove memory.bin: %s\r\n",
|
||||
strerror(errno));
|
||||
}
|
||||
}
|
||||
|
||||
/* _ce_patch_verify(): check patch data mug.
|
||||
|
Loading…
Reference in New Issue
Block a user