Skip to content

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

Merged
qining merged 2 commits intogoogle:masterfrom
qining:not-skip-find-error
Oct 22, 2018
Merged

Allow partially valid results returned from find command when listing files and directories#2311
qining merged 2 commits intogoogle:masterfrom
qining:not-skip-find-error

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