remove PRIVSEP macros for osx

This commit is contained in:
Damien Miller 2024-06-05 02:21:30 +10:00
parent 8785491123
commit cc80d51d03
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -706,13 +706,13 @@ do_exec(struct ssh *ssh, Session *s, const char *command)
#ifdef SSH_AUDIT_EVENTS
if (command != NULL)
PRIVSEP(audit_run_command(command));
mm_audit_run_command(command);
else if (s->ttyfd == -1) {
char *shell = s->pw->pw_shell;
if (shell[0] == '\0') /* empty shell means /bin/sh */
shell =_PATH_BSHELL;
PRIVSEP(audit_run_command(shell));
mm_audit_run_command(shell);
}
#endif
if (s->ttyfd != -1)