summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-09-06 14:31:32 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-09-06 14:31:32 +0800
commita249555fa8be3f01f692088f867de8d8b3e45990 (patch)
tree253e0eece419560fb19ca6a110b38bcffe8258ae /utils
parent15c8cadd1173f681142a3f48319a203d7b917850 (diff)
downloadtalos-petitboot-a249555fa8be3f01f692088f867de8d8b3e45990.tar.gz
talos-petitboot-a249555fa8be3f01f692088f867de8d8b3e45990.zip
pb-udhcpc: Fix string returned from resolve_url
In the 'as-is' case, we were echoing both URLs. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'utils')
-rw-r--r--utils/pb-udhcpc1
1 files changed, 1 insertions, 0 deletions
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
OpenPOWER on IntegriCloud