parent
ad9b090ddf
commit
2b5fafa909
|
@ -967,7 +967,7 @@ int main(int argc, char* argv[])
|
||||||
auto flags = (parser.get_switch("n") ? ServerFlags::IgnoreKakrc : ServerFlags::None) |
|
auto flags = (parser.get_switch("n") ? ServerFlags::IgnoreKakrc : ServerFlags::None) |
|
||||||
(parser.get_switch("d") ? ServerFlags::Daemon : ServerFlags::None) |
|
(parser.get_switch("d") ? ServerFlags::Daemon : ServerFlags::None) |
|
||||||
(parser.get_switch("ro") ? ServerFlags::ReadOnly : ServerFlags::None) |
|
(parser.get_switch("ro") ? ServerFlags::ReadOnly : ServerFlags::None) |
|
||||||
(argc == 1 ? ServerFlags::StartupInfo : ServerFlags::None);
|
(argc == 1 and isatty(0) ? ServerFlags::StartupInfo : ServerFlags::None);
|
||||||
return run_server(session, server_init, client_init, init_coord, flags, ui_type, files);
|
return run_server(session, server_init, client_init, init_coord, flags, ui_type, files);
|
||||||
}
|
}
|
||||||
catch (convert_to_client_mode& convert)
|
catch (convert_to_client_mode& convert)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user