diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-03 14:45:41 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-03 14:45:41 +0200 |
commit | ddf55c0d8844c3fda4b62b8b57de9ea8c5e332a7 (patch) | |
tree | e3cfb920b0745d6f0b82fc598f9aabe80368c217 /libs | |
parent | 417283d9be7eb02bc38a3d41e70454a39a2ddc00 (diff) |
PBD::init() failing is fatal in main(), don't silently exit.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/pbd/pbd.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/pbd/pbd.cc b/libs/pbd/pbd.cc index ab0f668f26..a7a818ee5f 100644 --- a/libs/pbd/pbd.cc +++ b/libs/pbd/pbd.cc @@ -103,9 +103,7 @@ PBD::init () */ if (WSAStartup(MAKEWORD(1,1),&wsaData) != 0) { - fatal << X_("Windows socket initialization failed with error: ") << WSAGetLastError() << endmsg; - abort(); - /*NOTREACHED*/ + error << X_("Windows socket initialization failed with error: ") << WSAGetLastError() << endmsg; return false; } |