1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 09:21:26 +03:00

test-acl-util: fix two issues from review

https://github.com/systemd/systemd/pull/2063
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2015-11-30 15:45:39 -05:00
parent afae249efa
commit d879fca6bc

View File

@ -41,7 +41,7 @@ static void test_add_acls_for_user(void) {
assert_se(fd >= 0);
/* Use the mode that user journal files use */
assert(fchmod(fd, 0640) == 0);
assert_se(fchmod(fd, 0640) == 0);
cmd = strjoina("ls -l ", fn);
assert_se(system(cmd) == 0);
@ -82,4 +82,6 @@ static void test_add_acls_for_user(void) {
int main(int argc, char **argv) {
test_add_acls_for_user();
return 0;
}