40network/ifup.sh: do_static() and do_ipv6auto return 0 if no errors.
authorWANG Chao <chaowang@redhat.com>
Thu, 18 Oct 2012 08:43:28 +0000 (16:43 +0800)
committerHarald Hoyer <harald@redhat.com>
Fri, 19 Oct 2012 09:10:52 +0000 (11:10 +0200)
commit8bf25df6408af65a95318b967b6ca64ead643f0e
tree7c487cc669038f859789d0a2cd6876a8f902b714
parente743cfdd4bab527fa39e773be7dd48c8325c8eee
40network/ifup.sh: do_static() and do_ipv6auto return 0 if no errors.

Commit a0be1ed removes some lines from do_static() and do_ipv6auto().

When $hostname is empty, do_static() and do_ipv6auto() will return 1
and fails to run setup_net at the last of ifup.sh

Signed-off-by: WANG Chao <chaowang@redhat.com>
modules.d/40network/ifup.sh