Skip to content
This repository has been archived by the owner on Mar 23, 2020. It is now read-only.

Commit

Permalink
main: show error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
ysc3839 committed Feb 20, 2018
1 parent 36eed06 commit ce7757e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@ int run_wsl(int argc, wchar_t *argv[])

free(command_line);

if (FAILED(hr))
{
printf("Error: 0x%X\n", hr);
return 1;
}

return exit_code;
}

Expand Down

0 comments on commit ce7757e

Please sign in to comment.