Changeset 10869


Ignore:
Timestamp:
05/27/11 15:17:56 (14 years ago)
Author:
tbretz
Message:
Unified return code with the convention that 0 is success.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/triggerschedule.cc

    r10797 r10869  
    4949        "be actualy sent to the server and return a completion code "
    5050        "of:\n"
    51         " 1 - if it was successfully sent.\n"
    52         " 0 - if it couldn't be delivered.\n "
     51        " 0 - if it was successfully sent.\n"
     52        " 1 - if it couldn't be delivered.\n "
    5353        << endl;
    5454    /* Additional help text which is printed after the configuration
     
    102102        cout << "Command issued successfully." << endl;
    103103
    104     return rc;
     104    return !rc;
    105105}
Note: See TracChangeset for help on using the changeset viewer.