diff options
Diffstat (limited to 'cloud_print/virtual_driver/win')
-rw-r--r-- | cloud_print/virtual_driver/win/install/setup.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud_print/virtual_driver/win/install/setup.cc b/cloud_print/virtual_driver/win/install/setup.cc index ad51a8e..f4d0c4d 100644 --- a/cloud_print/virtual_driver/win/install/setup.cc +++ b/cloud_print/virtual_driver/win/install/setup.cc @@ -507,7 +507,7 @@ HRESULT ExecuteCommands() { *base::CommandLine::ForCurrentProcess(); base::FilePath exe_path; - if (FAILED(PathService::Get(base::DIR_EXE, &exe_path)) || + if (!PathService::Get(base::DIR_EXE, &exe_path) || !base::DirectoryExists(exe_path)) { return HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND); } |