[padb] r445 committed - Change the order of the tests in the last commit to avoid...

padb at googlecode.com padb at googlecode.com
Fri Jun 24 20:05:00 BST 2011


Revision: 445
Author:   apittman at gmail.com
Date:     Fri Jun 24 12:04:08 2011
Log:      Change the order of the tests in the last commit to avoid
a warning message about non numeric compares.

http://code.google.com/p/padb/source/detail?r=445

Modified:
  /trunk/src/padb

=======================================
--- /trunk/src/padb	Thu Jun 23 16:17:17 2011
+++ /trunk/src/padb	Fri Jun 24 12:04:08 2011
@@ -9359,8 +9359,8 @@
      foreach my $proc (@procs) {
          my ( $pid, $job, $step, undef, $global ) = split $SPACE, $proc;
          next if ( $global eq '-' );
-        next if ( $pid == $$ );
          next unless ( $job eq $jobid );
+        next if ( $pid == $$ );
          next unless ( $step == $inner_conf{slurm_job_step} );
          next if ( is_resmgr_process($pid) );
          register_target_process( $global, $pid );




More information about the padb-devel mailing list