diff options
author | 2023-01-17 09:11:22 +0000 | |
---|---|---|
committer | 2023-01-17 15:05:51 +0000 | |
commit | e5a46f30deedabef5c18a587db2984a314f61071 (patch) | |
tree | ca506cd18c2f9bb5eb268040489db4dd1447df08 | |
parent | net/l2tp.sh: Really favour IFACE over IFVAR in an informational message (diff) | |
download | netifrc-e5a46f30deedabef5c18a587db2984a314f61071.tar.gz netifrc-e5a46f30deedabef5c18a587db2984a314f61071.tar.bz2 netifrc-e5a46f30deedabef5c18a587db2984a314f61071.zip |
net/bonding.sh: Eliminate the bashism that is pattern substitution
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | net/bonding.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bonding.sh b/net/bonding.sh index 1757a89..6db90fa 100644 --- a/net/bonding.sh +++ b/net/bonding.sh @@ -92,7 +92,7 @@ bonding_pre_start() if [ -n "${s}" ]; then for i in $s; do einfo "Adding ${n}: ${i}" - _netns echo "+${i/+/}" \>"${x}" || \ + _netns echo "+${i#+}" \>"${x}" || \ eerror "Failed to add $i (${n}_${IFVAR})" done fi |