|
@@ -192,11 +192,11 @@ if { $image != {} } {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if { [catch {cli_exec $cli(fd) "show boot | inc BOOT path-list"} result] } {
|
|
|
+ if { [catch {cli_exec $cli(fd) "show boot | inc $image"} result] } {
|
|
|
error $result $errorInfo
|
|
|
}
|
|
|
|
|
|
- if { ! [regexp "$fstype$image" $result] } {
|
|
|
+ if { ! [regexp "$image" $result] } {
|
|
|
action_syslog msg "FAILED BOOT: Failed to set boot variable: '$result'"
|
|
|
exit 1
|
|
|
}
|