summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsys/src/9/boot/net.rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/9/boot/net.rc b/sys/src/9/boot/net.rc
index 9f3d82767..fb399ef97 100755
--- a/sys/src/9/boot/net.rc
+++ b/sys/src/9/boot/net.rc
@@ -28,7 +28,8 @@ fn confignet{
# resolve dns names
if(test -x /bin/ndb/dnsgetip){
for(i in fs auth secstore){
- $i=`{for(x in $$i) ndb/dnsgetip -a $x}
+ x=`{for(x in $$i) ndb/dnsgetip -a $x}
+ ~ $#x 0 || $i=$x
}
}