From c04a6f979e71fb7e566d2026487493c4b719f28a Mon Sep 17 00:00:00 2001 From: sjing Date: Tue, 15 Jan 2013 06:27:31 +0000 Subject: [PATCH] fix for bug 2832 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/bin/mysqlsetup | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-client/bin/mysqlsetup b/xCAT-client/bin/mysqlsetup index 088d692c8..d52b67625 100755 --- a/xCAT-client/bin/mysqlsetup +++ b/xCAT-client/bin/mysqlsetup @@ -1717,7 +1717,11 @@ sub restorexcatdb # restore it my $cmd = "XCATBYPASS=y XCATCFG=\"$xcatcfg\" restorexCATdb -p $::backupdir"; + # not display passwords in verbose mode + my $tmpv = $::VERBOSE; + $::VERBOSE = 0; xCAT::Utils->runcmd($cmd, 0); + $::VERBOSE = $tmpv; if ($::RUNCMD_RC != 0) { xCAT::MsgUtils->message("E", " $cmd failed.");