From 530adb3db148545b6e9a7c1c2fd952201c7ce364 Mon Sep 17 00:00:00 2001 From: sjing Date: Tue, 15 Jan 2013 06:46:41 +0000 Subject: [PATCH] fix for bug 2832 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/bin/db2sqlsetup | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-client/bin/db2sqlsetup b/xCAT-client/bin/db2sqlsetup index 44d91afe6..e44b479f0 100755 --- a/xCAT-client/bin/db2sqlsetup +++ b/xCAT-client/bin/db2sqlsetup @@ -1883,7 +1883,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", " $cmd failed.");