aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index e852561..020d55a 100755
--- a/app.py
+++ b/app.py
@@ -225,7 +225,7 @@ class UserInstanceStatusTask(InstanceStatusTask):
@staticmethod
def su(user):
- systemctl = lambda *args: Systemd.su(user.name, Systemctl.user(*args))
+ systemctl = lambda *args: Systemd.su(user, Systemctl.user(*args))
return UserInstanceStatusTask(systemctl)