Remove failed lzma attempt if applicable

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-01-31 16:45:38 +00:00
parent 017a1526ed
commit b8e6eadfaa

View File

@ -117,6 +117,7 @@ sub process_request {
$lzma_exit_value=$? >> 8;
if ($lzma_exit_value) {
$callback->({data=>["Creating genesis.fs.$arch.lzma in $tftpdir/xcat failed, falling back to gzip"]});
unlink ("$tftpdir/xcat/genesis.fs.$arch.lzma");
} else {
$done = 1;
}