Closed MikaelSmith closed 4 years ago
A little more context on this: volume.FS
swallown the error because we may get useful output even if find
exits non-zero due to lack of permissions on some targets. However, we also ignore stderr. Some possible improvements here are
Specific test was ls
on the filesystem for a Bolt target that doesn't exist.
If
find
involume.FS
'sList
fails, the error is logged but thels
call still succeeds (exits 0) and reports the directory as empty. It should fail and return the error.