Rephrased a misleading report message in ntfswipe
When using the "--no-action" option, ntfswipe should display a count of would-be wiped bytes without suggesting any has been wiped.pull/2/head
parent
e43f58e0e4
commit
1e8ae121fc
|
@ -2261,9 +2261,14 @@ int main(int argc, char *argv[])
|
|||
break;
|
||||
}
|
||||
|
||||
ntfs_log_info(
|
||||
"%lld bytes were wiped (excluding undelete data)\n",
|
||||
(long long)total);
|
||||
if (opts.noaction || opts.info)
|
||||
ntfs_log_info("%lld bytes would be wiped"
|
||||
" (excluding undelete data)\n",
|
||||
(long long)total);
|
||||
else
|
||||
ntfs_log_info("%lld bytes were wiped"
|
||||
" (excluding undelete data)\n",
|
||||
(long long)total);
|
||||
}
|
||||
result = 0;
|
||||
umount:
|
||||
|
|
Loading…
Reference in New Issue