mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
inventory: Kill inventory.img file in case of failed dump
This will result in more sane error in case restore is launched on such semi-complete images. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -179,6 +179,7 @@ void show_rlimit(int fd, struct cr_options *o);
|
||||
|
||||
int check_img_inventory(void);
|
||||
int write_img_inventory(void);
|
||||
void kill_inventory(void);
|
||||
|
||||
extern void print_data(unsigned long addr, unsigned char *data, size_t size);
|
||||
extern void print_image_data(int fd, unsigned int length, int show);
|
||||
|
Reference in New Issue
Block a user