From: Jeremy Kerr Date: Fri, 6 Sep 2013 06:31:32 +0000 (+0800) Subject: pb-udhcpc: Fix string returned from resolve_url X-Git-Tag: v1.0.0~500 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=a249555fa8be3f01f692088f867de8d8b3e45990 pb-udhcpc: Fix string returned from resolve_url In the 'as-is' case, we were echoing both URLs. Signed-off-by: Jeremy Kerr --- diff --git a/utils/pb-udhcpc b/utils/pb-udhcpc index 252bb11..d641e99 100644 --- a/utils/pb-udhcpc +++ b/utils/pb-udhcpc @@ -17,6 +17,7 @@ resolve_url() { if [ "$tmp" != "$file" ] then echo "$file" + return fi # Otherwise, TFTP using an appropriate host. Start with the