projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15c8cad
)
pb-udhcpc: Fix string returned from resolve_url
author
Jeremy Kerr
<jk@ozlabs.org>
Fri, 6 Sep 2013 06:31:32 +0000
(14:31 +0800)
committer
Jeremy Kerr
<jk@ozlabs.org>
Fri, 6 Sep 2013 06:31:32 +0000
(14:31 +0800)
In the 'as-is' case, we were echoing both URLs.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
utils/pb-udhcpc
patch
|
blob
|
history
diff --git
a/utils/pb-udhcpc
b/utils/pb-udhcpc
index 252bb11d3ec1cd54ce3572e01e03e7aeb657c1f0..d641e9917b6bd459340ec5dc44c9007cc5d25562 100644
(file)
--- 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