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:
parent
910fd5317f
commit
2b68626089
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user