1. Vladimir Mihailenco
  2. django-fab-deploy-ext

Commits

Vladimir Mihailenco  committed f4757aa

Fix root handling

  • Participants
  • Parent commits 23dbfc5
  • Branches default

Comments (0)

Files changed (1)

File fab_deploy_ext/ssh.py

View file
  • Ignore whitespace
         for user in users:
             if user == 'root':
                 dirs.append('/root')
-            dirs.append('/home/%s' % user)
+            else:
+                dirs.append('/home/%s' % user)
     return dirs