Commit 09026ed
authored
[warm-reboot] fix warm-reboot when /tmp/cache is missing (#2367)
- What I did
Fixed issue when cache wasn't generated and warm reboot command fails.
Fixes sonic-net/sonic-buildimage#11914
- How I did it
Added a check for cache existence
- How to verify it
Run warm-reboot
Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>1 parent a3c404c commit 09026ed
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
| 469 | + | |
469 | 470 | | |
470 | 471 | | |
471 | 472 | | |
472 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
473 | 476 | | |
474 | 477 | | |
475 | 478 | | |
| |||
0 commit comments