~axwalk/juju-core/lp1303195-manual-ubuntuuser-bash

Viewing all changes in revision 2469.

[r=klyachin],[bug=1227074] cmd: No longer panic if cwd is deleted

This adds error return value for cmd.DefaultContext() function:

func DefaultContext() (*Context, error)

The previous implemenation causes panic if cmd.DefaultContext() was called with deleted current directory.

https://codereview.appspot.com/78660045/

R=dimitern, klyachin

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: