commit:     2be4c027eafbbbad9615ae4c16ff4d9f06a54d2e
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 19 06:49:05 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Jun 19 06:51:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2be4c027

net-firewall/ebtables: Replaced "echo -n" with "printf" in init script

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-firewall/ebtables/files/ebtables.initd-r1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-firewall/ebtables/files/ebtables.initd-r1 
b/net-firewall/ebtables/files/ebtables.initd-r1
index 9c78e9b78df..6608760110b 100644
--- a/net-firewall/ebtables/files/ebtables.initd-r1
+++ b/net-firewall/ebtables/files/ebtables.initd-r1
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 extra_commands="save panic"
@@ -16,7 +16,7 @@ depend() {
 ebtables_tables() {
        for table in filter nat broute; do
                if ${ebtables_bin} -t ${table} -L > /dev/null 2>&1; then
-                       echo -n "${table} "
+                       printf '%s' "${table} "
                fi
        done
 }

Reply via email to