Skip to content

Commit

Permalink
src/winusb: init: Also print help if chk_rt_params failed
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁 <[email protected]>
  • Loading branch information
brlin-tw committed Jun 6, 2017
1 parent 183b9fb commit fe1866a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/winusb
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,13 @@ init(){

check_permission

check_runtime_parameters\
if ! check_runtime_parameters\
install_mode\
source_media\
target_media
target_media; then
print_help
exit 1
fi

pulse on

Expand Down

0 comments on commit fe1866a

Please sign in to comment.