mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
emulators/open-vm-tools: Fix vmware-guestd rc
Add eval to the call to ${checkvm_cmd} to make sure stdout/stderr are redirect to /dev/null and remove spurious output when it's executed PR: 266520 Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
f63d317dfc
commit
8f9a376fdf
@ -1,6 +1,7 @@
|
||||
PORTNAME= open-vm-tools
|
||||
PORTVERSION= 12.1.0
|
||||
DISTVERSIONPREFIX= stable-
|
||||
PORTVERSION= 1
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= emulators
|
||||
|
||||
|
@ -18,7 +18,7 @@ rcvar=vmware_guestd_enable
|
||||
load_rc_config $name
|
||||
|
||||
checkvm_cmd="%%PREFIX%%/bin/vmware-checkvm > /dev/null 2>&1"
|
||||
if ${checkvm_cmd}; then
|
||||
if eval "${checkvm_cmd}"; then
|
||||
: ${vmware_guestd_enable:="YES"}
|
||||
else
|
||||
: ${vmware_guestd_enable:="NO"}
|
||||
|
Loading…
Reference in New Issue
Block a user