webtry: Check the result of os.Chdir().
authortfarina <tfarina@chromium.org>
Wed, 15 Oct 2014 20:48:47 +0000 (13:48 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Oct 2014 20:48:47 +0000 (13:48 -0700)
commitebd90ee211bb8740ff0e600632a7220ae82146a7
tree903a03abe7121015292b99c997e054c37a7c23eb
parent6819df36446f6fdcbd17d83a72a03de46e6d0d2d
webtry: Check the result of os.Chdir().

As mentioned in http://golang.org/doc/effective_go.html#blank_assign,
errors are provided for a reason, so always check them.

The documentation for this function is available at
http://golang.org/pkg/os/#Chdir.

BUG=None
TEST=None
R=jcgregorio@google.com

Review URL: https://codereview.chromium.org/651343002
experimental/webtry/webtry.go