mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
run/load/ipxe: prevent error on kill_spawned
... if the run script exits early.
This commit is contained in:
@@ -106,7 +106,8 @@ rename exit load_ipxe_real_exit
|
||||
proc exit {{status 0}} {
|
||||
if {[load_ipxe_lighttpd]} {
|
||||
global lighttpd_spawn_id
|
||||
kill_spawned $lighttpd_spawn_id
|
||||
# variable may not exist if the script fails early
|
||||
if {[info exists lighttpd_spawn_id]} { kill_spawned $lighttpd_spawn_id }
|
||||
}
|
||||
|
||||
load_ipxe_real_exit $status
|
||||
|
||||
Reference in New Issue
Block a user