From b6676dd952288809adccbeae5044ae7a9f189c5a Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 28 Nov 2013 11:26:34 +0000 Subject: procd: fix processing of datatype specification with spaces git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38935 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/system/procd/files/procd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/system') diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index ddb6d95e68..2f97a5d7d2 100644 --- a/package/system/procd/files/procd.sh +++ b/package/system/procd/files/procd.sh @@ -222,10 +222,10 @@ uci_validate_section() local name="$3" local error shift; shift; shift - local result=`/sbin/validate_data "$package" "$type" "$name" $@ 2> /dev/null` + local result=`/sbin/validate_data "$package" "$type" "$name" "$@" 2> /dev/null` error=$? eval "$result" - [ "$error" = "0" ] || `/sbin/validate_data "$package" "$type" "$name" $@ 1> /dev/null` + [ "$error" = "0" ] || `/sbin/validate_data "$package" "$type" "$name" "$@" 1> /dev/null` return $error } -- cgit v1.2.3