projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fa6b99
)
Give a nicer error when starting the server twice.
author
Carl Hetherington
<cth@carlh.net>
Mon, 31 Jan 2022 18:57:38 +0000
(19:57 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 31 Jan 2022 18:57:38 +0000
(19:57 +0100)
src/tools/dcpomatic_server_cli.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_server_cli.cc
b/src/tools/dcpomatic_server_cli.cc
index def8d538a7e529d8d8de7a0c84cc7a387e72df61..1a3a419efe9a76484a4651890e62c6d63b3d971b 100644
(file)
--- a/
src/tools/dcpomatic_server_cli.cc
+++ b/
src/tools/dcpomatic_server_cli.cc
@@
-113,9
+113,8
@@
main (int argc, char* argv[])
dcpomatic_log.reset (new FileLog("dcpomatic_server_cli.log"));
}
- EncodeServer server (verbose, num_threads);
-
try {
+ EncodeServer server (verbose, num_threads);
server.run ();
} catch (boost::system::system_error& e) {
if (e.code() == boost::system::errc::address_in_use) {