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:
parent
017a1526ed
commit
b8e6eadfaa
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user