check for md5 creation failure
This commit is contained in:
parent
1c61c29837
commit
b0a2503e02
@ -123,7 +123,10 @@ int nandroid_backup(char* backup_path)
|
||||
return ret;
|
||||
|
||||
sprintf(tmp, "cd %s && md5sum *img > nandroid.md5", backup_path);
|
||||
__system(tmp);
|
||||
if (0 != (ret = __system(tmp))) {
|
||||
ui_print("Error while generating md5 sum!\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
sync();
|
||||
ui_set_background(BACKGROUND_ICON_NONE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user