mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-06 21:51:37 +00:00
log: log to syslog unless connected to a tty in user mode
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user