accept $NO_DEPORT

main
Bel LaPointe 2025-05-08 16:58:34 -06:00
parent 1c7dafc78b
commit 8b668af899
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import (
"bytes"
"context"
"fmt"
"log"
"os"
"os/exec"
"path"
@ -13,6 +14,11 @@ import (
)
func deport(ctx context.Context, p string) error {
if os.Getenv("NO_DEPORT") != "" {
log.Printf("would deport %s", p)
return nil
}
assStreams, err := assStreams(ctx, p)
if err != nil {
return err