src: use S_ISDIR to check if the file is dir #52164
+17
−3
Merged
Loading