From d879fca6bcc391ec69a900affaafaaa51e02e5c5 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mon, 30 Nov 2015 15:45:39 -0500 Subject: test-acl-util: fix two issues from review https://github.com/systemd/systemd/pull/2063 --- src/test/test-acl-util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/test-acl-util.c b/src/test/test-acl-util.c index bdea04d7f0..91866daf2d 100644 --- a/src/test/test-acl-util.c +++ b/src/test/test-acl-util.c @@ -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; } -- cgit v1.2.3-54-g00ecf