Author: allanjude
Date: Mon Jul 13 13:44:54 2020
New Revision: 363142
URL: https://svnweb.freebsd.org/changeset/base/363142

Log:
  Remove excess spaces from rc.d scripts
  
  The space between words is already being echoed by the space between quoted 
strings:
  
      % echo 'foo' 'bar'
      foo bar
  
      % echo 'foo' ' baz'
      foo  baz
  
  Found in `ipfw` and `mountlate` messages.
  
  PR:           247948
  Submitted by: Jose Luis Duran <jldu...@gmail.com>
  MFC after:    2 weeks
  Sponsored by: Klara Inc.

Modified:
  head/libexec/rc/rc.d/ipfw
  head/libexec/rc/rc.d/mountlate

Modified: head/libexec/rc/rc.d/ipfw
==============================================================================
--- head/libexec/rc/rc.d/ipfw   Mon Jul 13 13:35:36 2020        (r363141)
+++ head/libexec/rc/rc.d/ipfw   Mon Jul 13 13:44:54 2020        (r363142)
@@ -63,7 +63,7 @@ ipfw_start()
                echo 'Firewall rules loaded.'
        elif [ "`ipfw list 65535`" = "65535 deny ip from any to any" ]; then
                echo 'Warning: kernel has firewall functionality, but' \
-                   ' firewall rules are not enabled.'
+                   'firewall rules are not enabled.'
                echo '           All ip services are disabled.'
        fi
 

Modified: head/libexec/rc/rc.d/mountlate
==============================================================================
--- head/libexec/rc/rc.d/mountlate      Mon Jul 13 13:35:36 2020        
(r363141)
+++ head/libexec/rc/rc.d/mountlate      Mon Jul 13 13:44:54 2020        
(r363142)
@@ -32,7 +32,7 @@ mountlate_start()
                ;;
        *)
                echo 'Mounting /etc/fstab filesystems failed,' \
-                   ' startup aborted'
+                   'startup aborted'
                stop_boot true
                ;;
        esac
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to