Revert "Fix showing directories when -R flag is set in ls(1)"
This reverts commitmaster
bb83eade39. This commit causes the loop through dents at the end of main to continue past the end of the dents array, causing a crash when called with multiple directory arguments.
Reference in New Issue