-e=deport-ass filename

This commit is contained in:
bel
2025-05-26 21:41:39 -06:00
parent 6626077201
commit cb44644475
3 changed files with 76 additions and 21 deletions

View File

@@ -14,6 +14,10 @@ import (
"strings"
)
func Entrypoint(ctx context.Context, p string) error {
return deport(ctx, p)
}
func deport(ctx context.Context, p string) error {
if os.Getenv("NO_DEPORT") != "" {
log.Printf("would deport %s", p)