Skip to content

Commit

Permalink
small improvements to wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
katlogic committed Aug 5, 2016
1 parent 6d919e0 commit 0b59939
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions wind.c
Original file line number Diff line number Diff line change
Expand Up @@ -677,11 +677,11 @@ out:;
NTSTATUS st = NtUnloadDriver(&RTL_STRING(SVC_BASE BASENAME));
(void)st;
DBG("Unloading previous driver %x", (int)st);
}
if (ret) {
printf(BASENAME " uninstalled.\n");
} else {
printf("Some errors during uninstallation (already uninstalled?)\n");
if (ret) {
printf(BASENAME " uninstalled.\n");
} else {
printf("Some errors during uninstallation (already uninstalled?)\n");
}
}
return ret;
}
Expand Down Expand Up @@ -757,10 +757,12 @@ static int usage(int interactive)
if (doit) {
int ret;
if (installed)
printf("Uninstalling...");
ret = do_uninstall(0);
else {
if (!interactive_install())
goto cancel;
printf("Installing...");
ret = do_install();
}
printf("All done! Press enter to close...");
Expand Down

0 comments on commit 0b59939

Please sign in to comment.