Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Output message when target file is not found

  • Loading branch information...
commit 3b9c7b28ffac6c15c3c3c8be686247bc0d3bbbdd 1 parent 9dd113b
@gix authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Main.cpp
View
4 src/Main.cpp
@@ -869,9 +869,11 @@ int wmain(int argc, wchar_t* argv[])
}
std::wstring targetFileName;
- if (!TryGetDevicePath(argv[1], targetFileName))
+ if (!TryGetDevicePath(argv[1], targetFileName)) {
// Nothing to do
+ fwprintf(stderr, L"KillHandle: Target <%s> not found.\n", targetFileName.c_str());
return 0;
+ }
std::wstring processName(argc >= 3 ? argv[2] : defaultProcessName);
Please sign in to comment.
Something went wrong with that request. Please try again.