Author: Daniel J Walsh

Email: dwalsh@redhat.com
Subject: newrole error message corrections.
Date: Fri, 07 Nov 2008 09:37:52 -0500

Signed-off-by: Joshua Brindle <method@manicmethod.com>
This commit is contained in:
Joshua Brindle 2008-11-07 16:49:04 -05:00
parent cc502813e0
commit bcd43e0bf1
1 changed files with 2 additions and 2 deletions

View File

@ -553,7 +553,7 @@ static int drop_capabilities(void)
new_caps = cap_init();
tmp_caps = cap_init();
if (!new_caps || !tmp_caps) {
fprintf(stderr, _("Error initing capabilities, aborting.\n"));
fprintf(stderr, _("Error initializing capabilities, aborting.\n"));
return -1;
}
rc |= cap_set_flag(new_caps, CAP_PERMITTED, 1, cap_list, CAP_SET);
@ -631,7 +631,7 @@ static int drop_capabilities(void)
/* Non-root caller, suid root path */
new_caps = cap_init();
if (!new_caps) {
fprintf(stderr, _("Error initing capabilities, aborting.\n"));
fprintf(stderr, _("Error initializing capabilities, aborting.\n"));
return -1;
}
rc |= cap_set_flag(new_caps, CAP_PERMITTED, 6, cap_list, CAP_SET);