Remove sudo from reboot

This commit is contained in:
Joel Collins 2019-11-27 16:31:11 +00:00
parent 1db88548c8
commit fe3fb6e624

View file

@ -32,6 +32,6 @@ class RebootAPI(MicroscopeView):
.. :quickref: Actions; Shutdown
"""
subprocess.Popen(["sudo", "shutdown", "-r", "now"])
subprocess.Popen(["shutdown", "-r", "now"])
return "{}", 201