trivial changes
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
2aaca0c54a
commit
3e8c5d3b79
2 changed files with 4 additions and 4 deletions
|
|
@ -1700,7 +1700,7 @@ pub fn create_process_with_logon(user: &str, pwd: &str, exe: &str, arg: &str) ->
|
|||
{
|
||||
let last_error = GetLastError();
|
||||
bail!(
|
||||
"CreateProcessWithLogonW failed : \"{}\", error {:?}",
|
||||
"CreateProcessWithLogonW failed : \"{}\", error {}",
|
||||
last_error_table
|
||||
.get(&last_error)
|
||||
.unwrap_or(&"Unknown error"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue