reboot takes time. This exit is necessary to avoid continue running new lines in this script.
On Thu, Feb 18, 2021 at 07:41:40PM +0800, Xu Xijian wrote:
The exit cmd after reboot is unnecessary, delete it.
Signed-off-by: Xu Xijian hdxuxijian@163.com
rootfs/addon/etc/init.d/lkp-bootstrap | 1 - 1 file changed, 1 deletion(-)
diff --git a/rootfs/addon/etc/init.d/lkp-bootstrap b/rootfs/addon/etc/init.d/lkp-bootstrap index f66ec4eb5..091b29890 100755 --- a/rootfs/addon/etc/init.d/lkp-bootstrap +++ b/rootfs/addon/etc/init.d/lkp-bootstrap @@ -24,7 +24,6 @@ if [ -s /lkp/run/lkp-bootstrap.pid ]; then # the previous lkp-bootstrap init.d script failed to restart the machine echo "LKP bootstrap: first run may failed, retry rebooting" reboot
- exit
fi
read_kernel_cmdline_vars()
2.23.0