summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-06-19 08:49:05 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-06-19 08:51:01 +0200
commit2be4c027eafbbbad9615ae4c16ff4d9f06a54d2e (patch)
tree46d041b820eff01549606d9c20db262f0ba37593 /net-firewall/ebtables/files
parentnet-firewall/ebtables: Don't compress the "ethertypes" file (diff)
downloadgentoo-2be4c027eafbbbad9615ae4c16ff4d9f06a54d2e.tar.gz
gentoo-2be4c027eafbbbad9615ae4c16ff4d9f06a54d2e.tar.bz2
gentoo-2be4c027eafbbbad9615ae4c16ff4d9f06a54d2e.zip
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@gentoo.org>
Diffstat (limited to 'net-firewall/ebtables/files')
-rw-r--r--net-firewall/ebtables/files/ebtables.initd-r14
1 files 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
}