Re: [PATCH virt-viewer] Fail if neither vnc nor spice is detected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/23/2012 02:03 AM, Christophe Fergeau wrote:

>>  
>> +if test "x$have_gtk_vnc" != "xyes" -a "x$have_gtk_spice" != "xyes"; then
> 
> IIRC
> if test "x$have_gtk_vnc" != "xyes" && test "x$have_gtk_spice" != "xyes"; then
> is better as it is more portable.

Correct - POSIX itself recommends against using 'test ... -a ...'

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux