File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 99 steps :
1010 - uses : actions/checkout@v4
1111 - run : dnf install shfmt -y
12- - run : shfmt -s -d *.sh kdumpctl mk*dumprd tests/*/*/*.sh dracut/*/*.sh tools/*.sh
12+ - run : shfmt -s -d *.sh kdumpctl mk*dumprd kdump-udev-throttler tests/*/*/*.sh dracut/*/*.sh tools/*.sh
1313
1414 static-analysis :
1515 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1515
1616throttle_lock=" /var/lock/kdump-udev-throttle"
1717
18- exec 9> $throttle_lock
18+ exec 9> $throttle_lock
1919if [ $? -ne 0 ]; then
20- echo " Failed to create the lock file! Fallback to non-throttled kdump service restart"
21- /bin/kdumpctl reload
22- exit 1
20+ echo " Failed to create the lock file! Fallback to non-throttled kdump service restart"
21+ /bin/kdumpctl reload
22+ exit 1
2323fi
2424
2525flock -n 9
2626if [ $? -ne 0 ]; then
27- echo " Throttling kdump restart for concurrent udev event"
28- exit 0
27+ echo " Throttling kdump restart for concurrent udev event"
28+ exit 0
2929fi
3030
3131# Wait for at least 1 second, at most 4 seconds for udev to settle
You can’t perform that action at this time.
0 commit comments