When open-vm-tools comes preinstalled in a base Linux release, the
vmtoolsd services are started automatically at system start
and desktop login. If running on physical hardware or in a non-VMware
hypervisor, the services will emit an error message to the systemd's
logging service before stopping.
This change removes the unwanted error message.
/*********************************************************
- * Copyright (C) 2008-2020 VMware, Inc. All rights reserved.
+ * Copyright (C) 2008-2020,2022 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* Check that environment is a VM
*/
if (!VmCheck_IsVirtualWorld()) {
- g_printerr("Error: %s must be run inside a virtual machine"
- " on a VMware hypervisor product.\n", argv[0]);
goto exit;
}