From baa81721b9cce426bce20a3511282e70d7f21bc0 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Wed, 26 May 2010 08:12:55 +0000 Subject: [PATCH] the verbose value is changed to 0 by default git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/statelite.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/statelite.pm b/xCAT-server/lib/xcat/plugins/statelite.pm index 3733b0d21..82750762f 100644 --- a/xCAT-server/lib/xcat/plugins/statelite.pm +++ b/xCAT-server/lib/xcat/plugins/statelite.pm @@ -20,7 +20,7 @@ Getopt::Long::Configure("pass_through"); my $cmdname = "liteimg"; my $statedir = ".statelite"; -my $verbose = "1"; +my $verbose = "0"; sub handled_commands { return { $cmdname => "statelite" @@ -324,7 +324,7 @@ sub process_request { # remove .statebackup $verbose && $callback->({info=>["remove .statebackup"]}); - xCAT::Utils->runcmd("rm -rf $rootimg_dir/.statelite/.statebackup", 0, 1); + xCAT::Utils->runcmd("rm -rf $rootimg_dir/.statebackup", 0, 1); # then store the @synclist to litefile.save #system("cp $rootimg_dir/.statelite/litefile.save $rootimg_dir/.statelite/litefile.save1");