Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
playground
>
dracut
> 0213-skip-condition-fixed.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0213-skip-condition-fixed.patch of Package dracut
From c0d440be710839a77c388cfd426768aec2d044c1 Mon Sep 17 00:00:00 2001 From: Marian Ganisin <mganisin@redhat.com> Date: Fri, 22 Apr 2011 08:42:08 -0400 Subject: [PATCH] skip condition fixed --- modules.d/40network/parse-ip-opts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/40network/parse-ip-opts.sh b/modules.d/40network/parse-ip-opts.sh index c8c2123..1f863a4 100755 --- a/modules.d/40network/parse-ip-opts.sh +++ b/modules.d/40network/parse-ip-opts.sh @@ -58,7 +58,7 @@ if [ "ibft" = "$(getarg ip=)" ]; then for iface in /sys/firmware/ibft/ethernet*; do [ -e ${iface}/mac ] || continue ifname_mac=$(read a < ${iface}/mac; echo $a) - [ -z "$ifname_mac" ] || continue + [ -z "$ifname_mac" ] && continue ifname_if=ibft$num num=$(( $num + 1 )) echo "ifname=$ifname_if:$ifname_mac" -- 1.8.3.1