mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-25 21:25:59 +07:00
log: log to syslog unless connected to a tty in user mode
This commit is contained in:
parent
0254daedb1
commit
eeecf6e607
@ -1063,7 +1063,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
} else {
|
||||
arg_running_as = MANAGER_USER;
|
||||
log_set_target(LOG_TARGET_CONSOLE);
|
||||
log_set_target(LOG_TARGET_AUTO);
|
||||
}
|
||||
|
||||
if (set_default_unit(SPECIAL_DEFAULT_TARGET) < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user