]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Disable the tools upgrade UI for non-admin guest users.
authorVMware, Inc <>
Thu, 18 Nov 2010 21:42:54 +0000 (13:42 -0800)
committerMarcelo Vanzin <mvanzin@vmware.com>
Thu, 18 Nov 2010 21:42:54 +0000 (13:42 -0800)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/toolbox/toolbox-cmd.c

index 896d5fef7f4fb4e2b48338ac0eed7a32caab4cfd..3a028132ea012c4092e31f7e165b865a5aac790a 100644 (file)
@@ -99,7 +99,7 @@ static CmdTable commands[] = {
    { "stat",      Stat_Command,     TRUE,    FALSE,   Stat_Help},
    { "device",    Device_Command,   TRUE,    FALSE,   Device_Help},
 #if (defined(_WIN32) || defined(linux)) && !defined(OPEN_VM_TOOLS)
-   { "upgrade",   Upgrade_Command,  TRUE,    FALSE,   Upgrade_Help},
+   { "upgrade",   Upgrade_Command,  TRUE,    TRUE,   Upgrade_Help},
 #endif
    { "help",      HelpCommand,      FALSE,   FALSE,   ToolboxCmdHelp},
 };