mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user