projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8adb3fb
)
procd: fix processing of datatype specification with spaces
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 28 Nov 2013 11:26:34 +0000
(11:26 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 28 Nov 2013 11:26:34 +0000
(11:26 +0000)
SVN-Revision: 38935
package/system/procd/files/procd.sh
patch
|
blob
|
history
diff --git
a/package/system/procd/files/procd.sh
b/package/system/procd/files/procd.sh
index ddb6d95e684d868a6b9f9d93dc9cb3710f7c781d..2f97a5d7d2855198cac8d92eeed61e76fdee5a6d 100644
(file)
--- 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
}