Merge branch 'master' of github.com:AlexSSD7/linsk
This commit is contained in:
commit
ba426c0c9e
2 changed files with 21 additions and 14 deletions
|
|
@ -33,9 +33,6 @@ func checkIfRoot() (bool, error) {
|
|||
|
||||
func doUSBRootCheck() {
|
||||
switch runtime.GOOS {
|
||||
case "darwin":
|
||||
// Root privileges is not required in macOS.
|
||||
return
|
||||
case "windows":
|
||||
// Administrator privileges are not required in Windows.
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue