[Rt-commit] rt branch, 4.0/test-dependencies-conclusion-with-install, updated. rt-4.0.5-61-gd84d602

? sunnavy sunnavy at bestpractical.com
Fri Mar 23 00:51:51 EDT 2012


The branch, 4.0/test-dependencies-conclusion-with-install has been updated
       via  d84d60270c6d7f1a3aa76829a86ec730ce3b61b1 (commit)
      from  8b2817fe2661cd8235971c2a7e8ea7762b90b7ae (commit)

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

- Log -----------------------------------------------------------------
commit d84d60270c6d7f1a3aa76829a86ec730ce3b61b1
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Mar 23 12:51:11 2012 +0800

    use exec to keep the exit code

diff --git a/sbin/rt-test-dependencies.in b/sbin/rt-test-dependencies.in
index 3a677c4..0ddab2e 100755
--- a/sbin/rt-test-dependencies.in
+++ b/sbin/rt-test-dependencies.in
@@ -404,7 +404,7 @@ foreach my $type (sort grep $args{$_}, keys %args) {
 }
 
 if ( $args{'install'} && keys %Missing_By_Type ) {
-    system($0, grep { $_ ne '--install' } @orig_argv );
+    exec($0, grep { $_ ne '--install' } @orig_argv );
 }
 else {
     conclude(%Missing_By_Type);

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


More information about the Rt-commit mailing list