Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow partially valid results returned from find command when listing files and directories #2311

Merged
merged 2 commits into from
Oct 22, 2018

Conversation

Qining
Copy link
Contributor

@Qining Qining commented Oct 22, 2018

Sits on top of #2310

find command may partially succeed, in which case we should process
the successfully listed items and ignore the error messages. This CL
redirect the errors generated by find to /dev/null to strip away error
messages.

If and only if the $TMPDIR env is not set should we try to fallback to
/tmp as the temporary directory for on-disk cache files.
…emote ssh device

`find` command may partially succeed, in which case we should process
the successfully listed items and ignore the error messages. This CL
redirect the errors generated by `find` to /dev/null to strip away error
messages.
@Qining Qining changed the title Do not return nil if find returns error when listing dirs/files on remote ssh device Allow partially valid results returned from find command when listing files and directories Oct 22, 2018
@Qining Qining merged commit ab5e031 into google:master Oct 22, 2018
@Qining Qining deleted the not-skip-find-error branch October 23, 2018 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants