do not use sudo when use_sudo is false #4

Open
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants
@afrerich

We don't give the deployer user sudo rights on the server, so this patch is necessary to stop some of the commands that use sudo from trying to use it.

@markjaquith

This comment has been minimized.

Show comment
Hide comment
@markjaquith

markjaquith Nov 13, 2012

Hm, I think I'd like to have a sudo that returns that ternary to simplify the code.

Hm, I think I'd like to have a sudo that returns that ternary to simplify the code.

@afrerich

This comment has been minimized.

Show comment
Hide comment
@afrerich

afrerich Jan 5, 2013

I think this is what you are after - let me know if you'd like other changes.

afrerich commented Jan 5, 2013

I think this is what you are after - let me know if you'd like other changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment