fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c04a6f979e
commit
23bf0b0c9c
@ -1273,7 +1273,11 @@ sub restorexcatdb
|
||||
|
||||
# restore it
|
||||
my $cmd = "XCATBYPASS=1 XCATCFG=\"$xcatcfg\" restorexCATdb -p $::backupdir";
|
||||
# secure passwords in verbose mode
|
||||
my $tmpv = $::VERBOSE;
|
||||
$::VERBOSE = 0;
|
||||
xCAT::Utils->runcmd($cmd, 0);
|
||||
$::VERBOSE = $tmpv;
|
||||
if ($::RUNCMD_RC != 0)
|
||||
{
|
||||
xCAT::MsgUtils->message("E", " restorexCATdb -p $::backupdir failed.");
|
||||
|
Loading…
Reference in New Issue
Block a user