2
0
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:
Todd C. Miller
2013-04-18 14:07:59 -04:00
parent 0fe2c3eb99
commit 39acd2fcba
35 changed files with 270 additions and 270 deletions

View File

@@ -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",