ls: abort a directory if we cannot opendir it
We should not try and perform operations on an invalid DIR* stream. Instead, we shall let the error message be printed, and the return code set (existing behaviour) and abort afterwards.
This commit is contained in:
parent
e92a1aef54
commit
46495ea902
Loading…
Reference in New Issue
Block a user