Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not create duplicate lines when calling append(..., use_sudo=True)
This happened on a file unreadable by an unprivileged user, for example /root/.ssh/authorized_keys when use_sudo was True. This fix passes along use_sudo to exists, so it can check if the file *really* exists before appending to it. Fixes issue fabric#341.
- Loading branch information