Commit fe3fb6e6 authored by Joel Collins's avatar Joel Collins
Browse files

Remove sudo from reboot

parent 1db88548
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,6 +32,6 @@ class RebootAPI(MicroscopeView):
        .. :quickref: Actions; Shutdown

        """
        subprocess.Popen(["sudo", "shutdown", "-r", "now"])
        subprocess.Popen(["shutdown", "-r", "now"])

        return "{}", 201