[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH 3/4] Improve elevation prompts
Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx> --- src/tty/tty.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/tty/tty.c b/src/tty/tty.c index e295f06..c3dfcf9 100644 --- a/src/tty/tty.c +++ b/src/tty/tty.c @@ -375,7 +375,7 @@ RequestElevation( return TRUE; ECHO(&Context->Device, "\r\n"); - ECHO(&Context->Device, " run as Administrator [yes|no]: "); + ECHO(&Context->Device, "Run Elevated [yes|no]: "); ZeroMemory(Buffer, sizeof (Buffer)); @@ -396,6 +396,8 @@ RequestElevation( if (_tcslen(Buffer) == 0) return FALSE; + ECHO(&Context->Device, "\r\n"); + if (_tcscmp(Buffer, TEXT("yes")) != 0) return TRUE; @@ -410,6 +412,8 @@ RequestElevation( Context->OriginalToken = Context->Token; Context->Token = LinkedToken.LinkedToken; + ECHO(&Context->Device, "Running Elevated\r\n\r\n"); + return TRUE; } -- 2.16.2.windows.1 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |