diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-11 14:03:30 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-11 14:03:30 +0300 |
commit | 6dad6c604f89b8ffcddf08f9d81eecbb6b52b173 (patch) | |
tree | e5c222144ebc6270f5cab1ed27d828ab3ee4a687 /utils/install_service.cpp | |
parent | add libnt_path_converter (diff) | |
download | windows7-drivers-6dad6c604f89b8ffcddf08f9d81eecbb6b52b173.tar.gz windows7-drivers-6dad6c604f89b8ffcddf08f9d81eecbb6b52b173.zip |
utils: bugfix
Diffstat (limited to 'utils/install_service.cpp')
-rw-r--r-- | utils/install_service.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/install_service.cpp b/utils/install_service.cpp index 7bed0d5..44fb199 100644 --- a/utils/install_service.cpp +++ b/utils/install_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::install(libservice::ServiceManager::open(), argv[1], argv[2]); } - catch (const std::system_error& e) + catch (const std::exception& e) { std::cerr << e.what() << "\n"; return 1; |