Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
lima-vm
GitHub Repository: lima-vm/lima
Path: blob/master/cmd/limactl/sudoers_nodarwin.go
1645 views
1
//go:build !darwin
2
3
// SPDX-FileCopyrightText: Copyright The Lima Authors
4
// SPDX-License-Identifier: Apache-2.0
5
6
package main
7
8
import (
9
"errors"
10
11
"github.com/spf13/cobra"
12
)
13
14
func sudoersAction(_ *cobra.Command, _ []string) error {
15
return errors.New("sudoers command is only supported on macOS right now")
16
}
17
18