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

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

index dcb2347..a67c02e 100644 (file)
@@ -161,6 +161,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());
        }