mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-10 23:10:59 +00:00
Allow trampling stopped processes
This commit is contained in:
@@ -149,7 +149,7 @@ func RunProcess(wait bool, label string, execPath string, args []string, input s
|
||||
|
||||
// First, see if there already is a process labeled 'label'
|
||||
existing := barak.processes[label]
|
||||
if existing != nil {
|
||||
if existing != nil && existing.EndTime.IsZero() {
|
||||
barak.mtx.Unlock()
|
||||
return nil, fmt.Errorf("Process already exists: %v", label)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user