eric pouech (@epo) commented about programs/cmd/directory.c:
/* Clear any errors from previous invocations, and process it */ errorlevel = NO_ERROR; prevEntry = thisEntry;
- thisEntry = WCMD_list_directory (thisEntry, 0);
- thisEntry = WCMD_list_directory (thisEntry, 0, &return_code); if (errorlevel)
this should use return_code not error level