summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/plugins/shutdown.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/plugins/shutdown.py b/portato/plugins/shutdown.py
index a29ee6f..120bac8 100644
--- a/portato/plugins/shutdown.py
+++ b/portato/plugins/shutdown.py
@@ -12,6 +12,6 @@
import os
-def shutdown (*args):
+def shutdown (*args, **kwargs):
"""Shutdown the computer. May not work if not root."""
os.system("shutdown -h now")