etc/network/if-up.d/vzifup-post: fix for Wheezy

When the following command is ran on Debian Wheezy

 service networking restart

It calls:

  ifup -a --exclude=lo

which sets $ADDRFAM == "meta" and $IFACE == "--all".
This leads to a weird looking error from grep
(unrecognized option --all).

Fix is easy.

https://bugzilla.openvz.org/2914

[kir@openvz.org: changelog, use single test expr with -o]

Acked-by: Kir Kolyshkin <kir@openvz.org>
1 file changed