Commit 5c6fd30
authored
[Mellanox] Fix reboot script usage in mlnx-onie-fw-update (#18863)
/usr/local/bin/reboot could return execution back to the invoking script in case of using graceful reboot. So, exit the script with reboot return code instead of proceeding with execution.
- Why I did it
Fix BIOS fw update procedure.
- How I did it
Return exit code from reboot script in mlnx-onie-fw-update.sh
- How to verify it
Tested with successful reboot
Tested with unsuccessful reboot
Signed-off-by: Stepan Blyschak <[email protected]>1 parent afdc5d0 commit 5c6fd30
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
0 commit comments