summaryrefslogtreecommitdiff
path: root/tests/e2e/crash_recovery_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/e2e/crash_recovery_test.go')
-rw-r--r--tests/e2e/crash_recovery_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/e2e/crash_recovery_test.go b/tests/e2e/crash_recovery_test.go
index 11d6ca3..ea29025 100644
--- a/tests/e2e/crash_recovery_test.go
+++ b/tests/e2e/crash_recovery_test.go
@@ -60,7 +60,7 @@ Endpoint = 1.1.1.1:51820
// 2. Try to run wg-wrap.
// It should see the stale PID, prune it, realize the namespace is actually dead,
// and start a fresh tunnel.
- cmd := exec.Command(binaryPath, "--profile", profile, "--", "ls")
+ cmd := exec.Command(binaryPath, "run", "--profile", profile, "--", "ls")
cmd.Env = append(os.Environ(),
fmt.Sprintf("XDG_RUNTIME_DIR=%s", tmpRuntimeDir),
fmt.Sprintf("XDG_CONFIG_HOME=%s", tmpConfigDir),