diff --git a/main.go b/main.go index 6e876df..09ba39e 100644 --- a/main.go +++ b/main.go @@ -30,6 +30,10 @@ func printUsage() { } func warning() { + if os.Getenv(ENV_WG_PROCESS_FOREGROUND) == "1" { + return + } + shouldQuit := false fmt.Fprintln(os.Stderr, "WARNING WARNING WARNING WARNING WARNING WARNING WARNING")