aboutsummaryrefslogtreecommitdiffstats
path: root/util.go
diff options
context:
space:
mode:
authorOskari Saarenmaa2017-02-14 21:52:26 +0200
committerOskari Saarenmaa2017-02-15 00:14:54 +0200
commit2aa4234efa6e04fdeee3129acdaa3464aa170dcd (patch)
tree9e53427d0ff6510843d5b53efe9d0aa893235de6 /util.go
parentc7ad97798acefc2f801393d5bf59876386954f46 (diff)
downloadgdrive-2aa4234efa6e04fdeee3129acdaa3464aa170dcd.tar.bz2
auth/file_source: don't try to read non-existent files
Commit b33b3e96e introduced a bug where we try to read a token file even if it doesn't exist, causing unauthenticated run (e.g. `gdrive about`) to fail with the error Failed getting oauth client: Failed to read token: unexpected end of JSON input Closes #257.
Diffstat (limited to 'util.go')
0 files changed, 0 insertions, 0 deletions