Browse Source

cmd: ignore missing wal in debug kill command (#6160)

closes: #6159
pull/6164/head
Aleksandr Bezobchuk 3 years ago
committed by GitHub
parent
commit
6912c34b58
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      cmd/tendermint/commands/debug/kill.go

+ 5
- 1
cmd/tendermint/commands/debug/kill.go View File

@ -79,7 +79,11 @@ func killCmdHandler(cmd *cobra.Command, args []string) error {
logger.Info("copying node WAL...")
if err := copyWAL(conf, tmpDir); err != nil {
return err
if !os.IsNotExist(err) {
return err
}
logger.Info("node WAL does not exist; continuing...")
}
logger.Info("copying node configuration...")


Loading…
Cancel
Save