Florian Haas wrote:
> Christian,
> 
> One more thing:
> 
> $ checkbashisms heartbeat/vmware
> possible bashism in heartbeat/vmware line 81 (should be >word 2>&1):
>   $VIMSHBIN vmsvc/message $1 $2 $3 &> /dev/null
> possible bashism in heartbeat/vmware line 86 (should be >word 2>&1):
>   $VIMSHBIN solo/registervm '"'$1'"' &> /dev/null
> possible bashism in heartbeat/vmware line 91 (should be >word 2>&1):
>   $VIMSHBIN  vmsvc/unregister $1 &> /dev/null
> possible bashism in heartbeat/vmware line 96 (should be >word 2>&1):
>   $VIMSHBIN vmsvc/power.on $1 &> /dev/null
> possible bashism in heartbeat/vmware line 101 (should be >word 2>&1):
>   $VIMSHBIN vmsvc/power.suspend $1 &> /dev/null

That means that "&>/dev/null" redirection is bash specific and I should 
use ">/dev/null 2>&1" instead?

-- 
Cristian Mammoli
APRA SISTEMI srl
Via Brodolini,6 Jesi (AN)
tel dir. 0731 719822

Web   www.apra.it
e-mail  [email protected]
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to