From 92e97af61039e246baf11deecbf70b620c2a589a Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Sat, 16 Apr 2022 12:12:18 -0700 Subject: [PATCH] softMain: handle rRDD error --- modules/database/src/std/softIoc/softMain.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/database/src/std/softIoc/softMain.cpp b/modules/database/src/std/softIoc/softMain.cpp index 367e23ed8..d3f51d748 100644 --- a/modules/database/src/std/softIoc/softMain.cpp +++ b/modules/database/src/std/softIoc/softMain.cpp @@ -114,7 +114,8 @@ void lazy_dbd(const std::string& dbd_file) { if (verbose) std::cout<<"softIoc_registerRecordDeviceDriver(pdbbase)\n"; - softIoc_registerRecordDeviceDriver(pdbbase); + errIf(softIoc_registerRecordDeviceDriver(pdbbase), + "Failed to initialize database"); registryFunctionAdd("exit", (REGISTRYFUNCTION) exitSubroutine); }