Commit 0739ad22 authored by Jason Edmeades's avatar Jason Edmeades Committed by Alexandre Julliard

cmd.exe: Only write 'bytes free' message if a file was displayed during dir.

parent bf626f96
......@@ -284,7 +284,7 @@ void WCMD_directory (void) {
lstrcpyn (drive, path, 4);
GetDiskFreeSpaceEx (drive, &avail, &total, &free);
if (!bare) {
if (errorlevel==0 && !bare) {
if (recurse) {
WCMD_output ("\n\n Total files listed:\n%8d files%25s bytes\n",
file_total, WCMD_filesize64 (byte_total));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment