Signed-off-by: Sally O'Malley <somalley@redhat.com>
| ... | ... |
@@ -627,8 +627,10 @@ func deleteAllContainers() error {
|
| 627 | 627 |
return err |
| 628 | 628 |
} |
| 629 | 629 |
|
| 630 |
- if err = deleteContainer(containers); err != nil {
|
|
| 631 |
- return err |
|
| 630 |
+ if containers != "" {
|
|
| 631 |
+ if err = deleteContainer(containers); err != nil {
|
|
| 632 |
+ return err |
|
| 633 |
+ } |
|
| 632 | 634 |
} |
| 633 | 635 |
return nil |
| 634 | 636 |
} |