Avoided displaying sync errors in ntfscp with --no-action
Do not loop on displaying errors when nothing is to be doneedge.strict_endians
parent
fb4a2a6292
commit
8520af7f7d
|
@ -573,7 +573,7 @@ int main(int argc, char *argv[])
|
|||
close_attr:
|
||||
ntfs_attr_close(na);
|
||||
close_dst:
|
||||
while (ntfs_inode_close(out)) {
|
||||
while (ntfs_inode_close(out) && !opts.noaction) {
|
||||
if (errno != EBUSY) {
|
||||
ntfs_log_error("Sync failed. Run chkdsk.\n");
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue