Skip to content

Commit

Permalink
Recognize root user from -r or --root arguments; Fix #51
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Dec 16, 2015
1 parent ec48814 commit e434d0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tracer/controllers/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,6 @@ def _restartable_applications(self, applications, args):

def _user(self, user):
if user == '*': return None
elif user == 'root': return user
elif not user: return System.user()
else: return user[0]

0 comments on commit e434d0a

Please sign in to comment.