Skip to content

more meaningful error code returned from radiusclient #36

Description

@codehero

Currently the radiusclient executable simply returns 1 on error. Would recommend the following change

-return (i == OK_RC) ? 0 : 1;
+return (i == OK_RC) ? 0 : i + X;

Where X is some sufficiently great enough positive integer whose absolute value exceeds the maximum negative error value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions