mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
tool/run: tolerate absence of load_spawn_id
Avoid backtrace in error message if load/fastboot fails at the boot-loader stage.
This commit is contained in:
parent
3bb894370a
commit
7019b795a6
@ -3,5 +3,7 @@
|
|||||||
#
|
#
|
||||||
proc load_spawn_id { } {
|
proc load_spawn_id { } {
|
||||||
global load_spawn_id
|
global load_spawn_id
|
||||||
return $load_spawn_id
|
if {[info exists load_spawn_id]} {
|
||||||
|
return $load_spawn_id }
|
||||||
|
return -1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user