Unbenannt
public text v1 · immutablecheck_vm_state()
{
/cygdrive/c/Programme/VMware/VMware\ Server/perl.exe "c:\Programme\VMware\VMware Server\vmware-cmd" -q "$1" getstate
}
test:
if [ "$(check_vm_state "$1")" == "on" ]; then
alsways is false, if i call the function check_vm_state with the same parameter it returns: on