From add85648fa587643d59b7c084cbf4ee473044c3e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 5 Sep 2006 16:23:40 +0000 Subject: [PATCH] fix error message in language list SVN-Revision: 4758 --- openwrt/package/webif/files/www/cgi-bin/webif/system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/package/webif/files/www/cgi-bin/webif/system.sh b/openwrt/package/webif/files/www/cgi-bin/webif/system.sh index 0dcc4799e9..be0c2a6f1c 100755 --- a/openwrt/package/webif/files/www/cgi-bin/webif/system.sh +++ b/openwrt/package/webif/files/www/cgi-bin/webif/system.sh @@ -30,7 +30,7 @@ EOF } fi -LANGUAGES="$(grep '^[\t ]*lang[\t ]*=>' /usr/lib/webif/lang/*/*.txt | awk -f /usr/lib/webif/languages.awk)" +LANGUAGES="$(grep '^[\t ]*lang[\t ]*=>' /usr/lib/webif/lang/*/*.txt 2>/dev/null | awk -f /usr/lib/webif/languages.awk)" header "System" "Settings" "@TR<>" '' "$SCRIPT_NAME" -- 2.30.2