diff --git a/tools/cosmovisor/args.go b/tools/cosmovisor/args.go index e31110433b96..4501e8e7d880 100644 --- a/tools/cosmovisor/args.go +++ b/tools/cosmovisor/args.go @@ -17,8 +17,6 @@ import ( upgradetypes "cosmossdk.io/x/upgrade/types" ) -// TRIGGER LINT COSMOVISOR - // environment variable names const ( EnvHome = "DAEMON_HOME" diff --git a/tools/cosmovisor/process.go b/tools/cosmovisor/process.go index 051a3621eb9e..c41731e04b33 100644 --- a/tools/cosmovisor/process.go +++ b/tools/cosmovisor/process.go @@ -101,7 +101,7 @@ func (l Launcher) Run(args []string, stdout, stderr io.Writer) (bool, error) { // It returns (true, nil) if an upgrade should be initiated (and we killed the process) // It returns (false, err) if the process died by itself // It returns (false, nil) if the process exited normally without triggering an upgrade. This is very unlikely -// to happen with "start" but may happen with short-lived commands like `simd export ...` +// to happen with "start" but may happen with short-lived commands like `simd genesis export ...` func (l Launcher) WaitForUpgradeOrExit(cmd *exec.Cmd) (bool, error) { currentUpgrade, err := l.cfg.UpgradeInfo() if err != nil {