mirror of
https://github.com/containers/podman.git
synced 2025-07-04 01:48:28 +08:00
@ -46,7 +46,7 @@ var rootCmd = &cobra.Command{
|
||||
|
||||
func main() {
|
||||
if os.Geteuid() != 0 {
|
||||
fmt.Printf("This command must be ran as root via sudo or osascript\n")
|
||||
fmt.Printf("This command must be run as root via sudo or as a script\n")
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user