File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -173,8 +173,8 @@ function request_pre_shutdown()
173
173
function recover_issu_bank_file()
174
174
{
175
175
debug " Recovering the (${ISSU_BANK_FILE} ) file"
176
- docker exec -it syncd sx_api_dbg_generate_dump.py
177
- issu_bank_value=` docker exec -it syncd cat /tmp/sdkdump | grep ' ISSU Bank' | grep -o -E ' [0-9]+' `
176
+ docker exec -i syncd sx_api_dbg_generate_dump.py
177
+ issu_bank_value=` docker exec -i syncd cat /tmp/sdkdump | grep ' ISSU Bank' | grep -o -E ' [0-9]+' `
178
178
printf $issu_bank_value > /host/warmboot/issu_bank.txt
179
179
}
180
180
@@ -577,10 +577,8 @@ if [[ "$REBOOT_TYPE" = "warm-reboot" || "$REBOOT_TYPE" = "fastfast-reboot" ]]; t
577
577
# Pre-shutdown syncd
578
578
initialize_pre_shutdown
579
579
580
- BEFORE_PRE_SHUTDOWN=true
581
-
582
580
if [[ " x$sonic_asic_type " == x" mellanox" ]]; then
583
- check_issu_bank_file " $BEFORE_PRE_SHUTDOWN "
581
+ check_issu_bank_file
584
582
fi
585
583
586
584
request_pre_shutdown
You can’t perform that action at this time.
0 commit comments