1
0
mirror of synced 2026-05-05 07:43:42 +00:00

Remove redundant * in string comparison, remove trailing whitespace

This commit is contained in:
Axel Beckert
2010-07-15 09:29:05 +02:00
parent 2bd526df23
commit c78dc0ab77
9 changed files with 18 additions and 18 deletions

View File

@@ -138,9 +138,9 @@ E_O_STATIC
# temporarily to /etc/resolv.conf.old. Use that file, it
# will be restored after hooks are run.
#
if [ '*' != "*$nameserver" ]; then
if [ '' != "$nameserver" ]; then
rm -f ${prefix}/etc/resolv.conf.old
for ns in $nameserver; do
for ns in $nameserver; do
echo "nameserver $ns" >>${prefix}/etc/resolv.conf.old
done
fi