Exit with error when file lock is busy 50/307250/1
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 5 Mar 2024 08:56:15 +0000 (09:56 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 6 Mar 2024 09:50:14 +0000 (10:50 +0100)
Change-Id: Iee78ef372a3315c8eedbf80b0579508edb1c3843

src/manager/main/key-manager-main.cpp

index d1840c5..e038978 100644 (file)
@@ -133,6 +133,9 @@ int main(void)
 
                        manager.MainLoop();
                }
+       } catch (const CKM::Exc::FileSystemFailed &e) {
+               LogError(e.what());
+               return 1;
        } catch (const std::runtime_error &e) {
                LogError(e.what());
        }