Remove sudo from reboot
This commit is contained in:
parent
1db88548c8
commit
fe3fb6e624
1 changed files with 1 additions and 1 deletions
|
|
@ -32,6 +32,6 @@ class RebootAPI(MicroscopeView):
|
|||
.. :quickref: Actions; Shutdown
|
||||
|
||||
"""
|
||||
subprocess.Popen(["sudo", "shutdown", "-r", "now"])
|
||||
subprocess.Popen(["shutdown", "-r", "now"])
|
||||
|
||||
return "{}", 201
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue