Whitespace fix
Run check and restart commands with a PTY to allow for sudo