diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-12-14 15:33:36 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-12-14 15:33:36 +0000 |
commit | 105d8a0505291bafa07dfbf2c37838b0a47ba2fa (patch) | |
tree | 87fcee55b807ebbd3a8b93842d07f36b66d6d3b4 /distrib/miniroot/install.sh | |
parent | 31532cee75f05163575b5ac99ccc844c2c853216 (diff) |
Expunge some trailing whitespace.
From David Krause.
Diffstat (limited to 'distrib/miniroot/install.sh')
-rw-r--r-- | distrib/miniroot/install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh index d63b1314a33..a9b2afff318 100644 --- a/distrib/miniroot/install.sh +++ b/distrib/miniroot/install.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: install.sh,v 1.128 2002/12/08 20:24:56 krw Exp $ +# $OpenBSD: install.sh,v 1.129 2002/12/14 15:33:34 krw Exp $ # $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $ # # Copyright (c) 1997-2002 Todd Miller, Theo de Raadt, Ken Westerback @@ -387,8 +387,8 @@ hostname > myname # Add FQDN to /tmp/hosts entries, changing lines of the form '1.2.3.4 hostname' # to '1.2.3.4 hostname.$FQDN hostname'. Leave untouched any lines containing # domain information or aliases. The user added those manually. -_dn=$(get_fqdn) -while read _addr _hn _aliases; do +_dn=$(get_fqdn) +while read _addr _hn _aliases; do if [[ -n $_aliases || $_hn != ${_hn%%.*} || -z $_dn ]]; then echo "$_addr $_hn $_aliases" else |