mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
21955fe91b
Bug 1572563 wanted to be extra sure that `ls` could be found. To do that it tries to run various `ls` variants in a loop until one such variant exits with exit code 0. However, `ls` can be present and functional and still exit with code 1. For many unrooted devices, bare `ls` will exit with code 1 because there are files and directories for which the shell user doesn't have read permission. This works around by trying to list only the file that the loop is trying to execute. Differential Revision: https://phabricator.services.mozilla.com/D45770 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
mozdevice | ||
tests | ||
setup.cfg | ||
setup.py |