1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

test-chown-rec: use logging helper here too

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-10-28 23:28:34 +01:00
parent 910fd5317f
commit 2b68626089

View File

@ -147,9 +147,7 @@ static void test_chown_recursive(void) {
}
int main(int argc, char *argv[]) {
log_set_max_level(LOG_DEBUG);
log_parse_environment();
log_open();
test_setup_logging(LOG_DEBUG);
if (geteuid() != 0)
return log_tests_skipped("not running as root");