Skip to content

Commit 7514534

Browse files
committed
Update session.go
1 parent 0a32ba0 commit 7514534

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

cmd/lk/session.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ var agentSessionCommand = &cli.Command{
9292
Name: sessionDaemonSubcommand,
9393
Hidden: true,
9494
Action: func(ctx context.Context, cmd *cli.Command) error {
95-
// Only meaningful when re-exec'd by `start`, which hands down an
96-
// inherited readiness pipe. Reject direct invocation so a stray
97-
// `lk agent session daemon` can't spawn a half-configured daemon.
9895
if os.Getenv(envSessionReadyFD) == "" {
9996
return fmt.Errorf("`session daemon` is an internal entrypoint; run `lk agent session start <entrypoint>` instead")
10097
}

0 commit comments

Comments
 (0)