[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.5-226-g279c65a

Emmanuel Lacour elacour at bestpractical.com
Fri Oct 2 03:53:17 EDT 2009


The branch, 3.8-trunk has been updated
       via  279c65a65847c4e40561196afc2e2868f336ad48 (commit)
      from  459f4fa2e09401b219450beaa99d73df6d89d163 (commit)

Summary of changes:
 sbin/rt-shredder.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 279c65a65847c4e40561196afc2e2868f336ad48
Author: Emmanuel Lacour <elacour at easter-eggs.com>
Date:   Fri Oct 2 09:52:30 2009 +0200

    Add information in shredder command line output about count of object that could be deleted

diff --git a/sbin/rt-shredder.in b/sbin/rt-shredder.in
index 414546d..bc91ef6 100755
--- a/sbin/rt-shredder.in
+++ b/sbin/rt-shredder.in
@@ -188,7 +188,7 @@ sub prompt_delete_objs
 		print "Objects list is empty, try refine search options\n";
 		exit 0;
 	}
-	my $list = "Next objects would be deleted:\n";
+	my $list = "Next ". scalar( @$objs ) ." objects would be deleted:\n";
 	foreach my $o( @$objs ) {
 		$list .= "\t". $o->_AsString ." object\n";
 	}

-----------------------------------------------------------------------


More information about the Rt-commit mailing list