IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31640


Ignore:
Timestamp:
Jun 16, 2011, 4:12:25 PM (15 years ago)
Author:
watersc1
Message:

Change how neb-admin decides the exit code. If we've returned fewer entries than the limit, then we have tapped out this so_id range, and should move on.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/bin/neb-admin

    r30644 r31640  
    438438    # use a different exit status if we hit the limit (likely more files pending)
    439439    print STDERR "Which exit: $Npending $limit\n";
    440     # This is a better way to do this.
    441     if ($Npending == 0) {
     440    # This is a better way to do this. This should be even better-er.
     441    if ($Npending < $limit) {
    442442        exit 0;
    443443    }
Note: See TracChangeset for help on using the changeset viewer.