aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/uninstall_service.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--utils/uninstall_service.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/uninstall_service.cpp b/utils/uninstall_service.cpp
index 5929dfc..737742c 100644
--- a/utils/uninstall_service.cpp
+++ b/utils/uninstall_service.cpp
@@ -8,8 +8,8 @@
#include "libservice/interface.hpp"
+#include <exception>
#include <iostream>
-#include <system_error>
int main(int argc, char* argv[])
{
@@ -23,7 +23,7 @@ int main(int argc, char* argv[])
{
libservice::Service::open(libservice::ServiceManager::open(), argv[1]).uninstall();
}
- catch (const std::system_error& e)
+ catch (const std::exception& e)
{
std::cerr << e.what() << "\n";
return 1;