mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Rename error/errorx -> fatal/fatalx and remove the exit value as
it was always 1.
This commit is contained in:
@@ -74,7 +74,7 @@ audit_role_change(const security_context_t old_context,
|
||||
/* Kernel may not have audit support. */
|
||||
if (errno != EINVAL && errno != EPROTONOSUPPORT && errno != EAFNOSUPPORT
|
||||
)
|
||||
error(1, _("unable to open audit system"));
|
||||
fatal(_("unable to open audit system"));
|
||||
} else {
|
||||
/* audit role change using the same format as newrole(1) */
|
||||
easprintf(&message, "newrole: old-context=%s new-context=%s",
|
||||
|
Reference in New Issue
Block a user