From 808a33492e82a9fabe80ed9fc1b4c405cad8d485 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 8 Mar 2010 18:22:24 +0000 Subject: [PATCH] get rid of usermod no changes message, each time xcatd restarted git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5402 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/AAsn.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/AAsn.pm b/xCAT-server/lib/xcat/plugins/AAsn.pm index f6b316792..10dd397f0 100644 --- a/xCAT-server/lib/xcat/plugins/AAsn.pm +++ b/xCAT-server/lib/xcat/plugins/AAsn.pm @@ -513,7 +513,7 @@ sub setup_FTP { mkpath($installdir); } - $cmd = "usermod -d $installdir ftp"; + $cmd = "usermod -d $installdir ftp 2>&1"; my $outref = xCAT::Utils->runcmd($cmd, 0); if ($::RUNCMD_RC) {