Merge lp:~elopio/snappy/sudo_path into lp:~snappy-dev/snappy/snappy-moved-to-github
Proposed by
Leo Arias
Status: | Merged |
---|---|
Merge reported by: | Leo Arias |
Merged at revision: | not available |
Proposed branch: | lp:~elopio/snappy/sudo_path |
Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
Diff against target: |
23 lines (+11/-0) 1 file modified
_integration-tests/reboot-wrapper (+11/-0) |
To merge this branch: | bzr merge lp:~elopio/snappy/sudo_path |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sergio Schvezov | Needs Information | ||
Federico Gimenez | continuous-integration | Pending | |
Review via email:
|
Commit message
Added a sudo wrapper that preserves the user path.
To post a comment you must log in.
Have you tried something like "/bin/sh" , "-c", "sudo env PATH=$PATH ...")
Maybe expand PATH using os.ExpandEnv
cmd := exec.Command(