diff --git a/cmd/forgejo/actions.go b/cmd/forgejo/actions.go index 224bc626b4..58accdc8b7 100644 --- a/cmd/forgejo/actions.go +++ b/cmd/forgejo/actions.go @@ -190,7 +190,7 @@ func RunGenerateSecret(ctx context.Context, cliCtx *cli.Context) error { } func RunGenerateActionsRunnerToken(ctx context.Context, cliCtx *cli.Context) error { - if !ContextGetNoInstallSignals(ctx) { + if !ContextGetNoInit(ctx) { var cancel context.CancelFunc ctx, cancel = installSignals(ctx) defer cancel()