Skip to content

Commit

Permalink
Revert unecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
liuh-80 committed Jan 11, 2024
1 parent 2a0b94f commit 6b210e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tacacs/bash_tacplus/bash_tacplus.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,11 +468,11 @@ int on_shell_execve (char *user, int shell_level, char *cmd, char **argv)
break;
case -2:
// -2 means no servers, so not authorized
fprintf(stdout, "%s not authorized by TACACS+ with given arguments\n", cmd);
fprintf(stdout, "%s not authorized by TACACS+ with given arguments, not executing\n", cmd);
break;
default:
// when command reject by server, authorization will failed immediately
fprintf(stdout, "%s authorize failed by TACACS+ with given arguments\n", cmd);
fprintf(stdout, "%s authorize failed by TACACS+ with given arguments, not executing\n", cmd);
return ret;
}

Expand Down

0 comments on commit 6b210e8

Please sign in to comment.