Change checking for error on run to checking on syscall Setuid(0)\nThis prevents error messages appearing because of not running as root, is generally cleaner and should work just as nice when actually running as root.