From ce397e876cd206ecb7d2cd6fccff75eac34074ea Mon Sep 17 00:00:00 2001 From: Chuck Brazie Date: Mon, 28 Aug 2017 08:41:58 -0400 Subject: [PATCH] Update imgport.pm --- xCAT-server/lib/xcat/plugins/imgport.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/imgport.pm b/xCAT-server/lib/xcat/plugins/imgport.pm index 4c0c2fe84..74a969904 100644 --- a/xCAT-server/lib/xcat/plugins/imgport.pm +++ b/xCAT-server/lib/xcat/plugins/imgport.pm @@ -106,7 +106,7 @@ sub ximport { push @{ $rsp{data} }, "imgimport: Takes in an xCAT image bundle and defines it to xCAT so you can use it"; push @{ $rsp{data} }, "Usage: "; push @{ $rsp{data} }, "\timgimport [-h|--help]"; - push@{ $rsp{data} }, "\timgimport [-p|--postscripts ] [-f|--profile ] [-R|--remotehost ] [-n|--nozip] [-v]"; + push @{ $rsp{data} }, "\timgimport [-p|--postscripts ] [-f|--profile ] [-R|--remotehost ] [-n|--nozip] [-v]"; if ($ec) { $rsp{errorcode} = $ec; } $callback->(\%rsp); }; @@ -1192,7 +1192,7 @@ sub extract_bundle { $callback->({ data => ["Unbundling image..."] }); my $rc; if ($nozip) { - if ($::VERBOSE) { + if ($::VERBOSE) { $callback->({data=>["tar xvf $bundle -C $tpath"]}); $rc = system("tar xvf $bundle -C $tpath"); } else {