From e541850588613fc88ea63fa17c515d4e49de9b13 Mon Sep 17 00:00:00 2001 From: cjhardee Date: Mon, 15 Nov 2010 19:16:33 +0000 Subject: [PATCH] $cmd was set to a tar command and then printed to indicate what was happenning in the output, however $cmd was not being used. The same command but missing the verbose option was retyped when it was actually being executed git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/esx.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index a8ecb8af6..5a97eb9d1 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -3883,9 +3883,9 @@ sub cpNetbootImages { mkdir($tmpDir); chdir($tmpDir); xCAT::SvrUtils::sendmsg("extracting netboot files from OS image. This may take about a minute or two...hopefully you have ~1GB free in your /tmp dir\n", $output_handler); - my $cmd = "tar zxvf $srcDir/image.tgz"; + my $cmd = "tar zxf $srcDir/image.tgz"; print "\n$cmd\n"; - if(system("tar zxf $srcDir/image.tgz")){ + if(system($cmd)){ xCAT::SvrUtils::sendmsg([1,"Unable to extract $srcDir/image.tgz\n"], $output_handler); } # this has the big image and may take a while.