Simplify false return path

This commit is contained in:
Dean Herbert 2021-04-27 14:35:14 +09:00
parent 5a3fbef5ac
commit 2303d108bb
1 changed files with 2 additions and 4 deletions

View File

@ -54,15 +54,13 @@ private bool isElevated()
case RuntimeInfo.Platform.macOS:
case RuntimeInfo.Platform.Linux:
return Mono.Unix.Native.Syscall.geteuid() == 0;
default:
return false;
}
}
catch
{
return false;
}
return false;
}
private class ElevatedPrivilegesNotification : SimpleNotification