From 3f937203f719f0e161edec45c2d2bd5cbea56e37 Mon Sep 17 00:00:00 2001 From: lissav Date: Fri, 31 Oct 2008 16:21:01 +0000 Subject: [PATCH] surpress the error from /bin/mv /install/postscripts/.ssh /install/postscripts/_ssh git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatconfig | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/xCAT-server/sbin/xcatconfig b/xCAT-server/sbin/xcatconfig index 3613c9b64..ad472e7f3 100644 --- a/xCAT-server/sbin/xcatconfig +++ b/xCAT-server/sbin/xcatconfig @@ -276,21 +276,21 @@ else if (-d "/install/postscripts/.ssh") { my $cmd = "/bin/mv /install/postscripts/.ssh /install/postscripts/_ssh"; - my $outref = xCAT::Utils->runcmd("$cmd", 0); - if ($::RUNCMD_RC != 0) - { - xCAT::MsgUtils->message( - 'E', - "Could not move /install/postscripts/.ssh directory to /install/postscripts/_ssh.\n" - ); - } - else - { - xCAT::MsgUtils->message( - 'I', - "Moved /install/postscripts/.ssh directory to /install/postscripts/_ssh.\n" - ); - } + my $outref = xCAT::Utils->runcmd("$cmd", -1); + # if ($::RUNCMD_RC != 0) + # { + # xCAT::MsgUtils->message( + # 'E', + # "Could not move /install/postscripts/.ssh directory to /install/postscripts/_ssh.\n" + # ); + # } + # else + # { + # xCAT::MsgUtils->message( + # 'I', + # "Moved /install/postscripts/.ssh directory to /install/postscripts/_ssh.\n" + # ); + # } } if (-d "/install/postscripts/.xcat") {