From 174f38e91192fb8a1f39298ec484a6e0f3ed9f84 Mon Sep 17 00:00:00 2001 From: Michael Gebetsroither Date: Wed, 21 Dec 2005 02:52:43 +0100 Subject: [PATCH] trim the list of nameservers from netGetNameserers, there should be no whitespace at the end --- sh-lib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh-lib b/sh-lib index 84d45e0..9896f71 100644 --- a/sh-lib +++ b/sh-lib @@ -545,7 +545,7 @@ function netGetNameservers fi setCLang - ns_=`awk '/^nameserver/{printf "%s ",$2}' $file_` + ns_=`awk '/^nameserver/{printf "%s ",$2}' $file_ |xargs echo` restoreLang if [ -z "$ns_" ]; then if [ -z "$message_" ]; then @@ -703,7 +703,7 @@ function _setDebugLevel local debug_="${DEBUG:-0}" VERBOSE__="$debug_" } -_checkBootParam +_setDebugLevel # }}} # END OF FILE -- 2.1.4