URI: 
       tSimplify conf_print_hosts(). - libdevuansdk - common library for devuan's simple distro kits
  HTML git clone https://git.parazyd.org/libdevuansdk
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 34d263c807bb677aab7c0a7d39c87d45f3fdef87
   DIR parent 93d89b5f7ee686e7ed3d7558260f461d4ef20a17
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Thu, 12 Mar 2020 10:13:11 +0100
       
       Simplify conf_print_hosts().
       
       Diffstat:
         M zlibs/sysconf                       |      10 +++-------
       
       1 file changed, 3 insertions(+), 7 deletions(-)
       ---
   DIR diff --git a/zlibs/sysconf b/zlibs/sysconf
       t@@ -41,7 +41,7 @@ conf_print_hostname() {
                req=(os)
                ckreq || return 1
        
       -        print $os
       +        print "$os"
        }
        
        conf_print_hosts() {
       t@@ -50,12 +50,8 @@ conf_print_hosts() {
                ckreq || return 1
        
                cat <<EOF
       -127.0.0.1        ${os}                localhost
       -::1              ip6-localhost ip6-loopback
       -fe00::0          ip6-localnet
       -fe00::0          ip6-mcastprefix
       -fe02::1          ip6-allnodes
       -fe02::1          ip6-allrouters
       +127.0.0.1  localhost  ${os}
       +::1        localhost
        EOF
        }