remove PRIVSEP macros for osx
This commit is contained in:
parent
8785491123
commit
cc80d51d03
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue