Commits

Vladimir Mihailenco committed 23dbfc5

Add special case for root

Comments (0)

Files changed (1)

fab_deploy_ext/ssh.py

 def _get_home_dirs(users):
     if users is None:
         dirs = file.file_list('/home')
+        dirs.append('/root')
     else:
         dirs = []
         for user in users:
+            if user == 'root':
+                dirs.append('/root')
             dirs.append('/home/%s' % user)
     return dirs