diff options
-rw-r--r-- | application/modules/ipxe/controllers/ResourceController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php index ba3c829..a49e101 100644 --- a/application/modules/ipxe/controllers/ResourceController.php +++ b/application/modules/ipxe/controllers/ResourceController.php @@ -300,7 +300,7 @@ class Ipxe_ResourceController extends Zend_Controller_Action { }else{ $result .= "imgargs kernel alpha=".$this->session->getAlphasessionID()." file=$this->httpmode://$this->host/c/".$this->session->getAlphasessionID()."/default.tgz ".$bootmenuentry->getKclappend()."\n"; } - $result .= "boot"; + $result .= "boot || echo An error occured && exit"; } else { $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/serialnumber/$serialnumber/mac/$mac/error/session\n"; |