procd: fix uci_validation
authorJohn Crispin <blogic@openwrt.org>
Mon, 30 Jun 2014 09:57:29 +0000 (09:57 +0000)
committerJohn Crispin <blogic@openwrt.org>
Mon, 30 Jun 2014 09:57:29 +0000 (09:57 +0000)
commit1a7223795f4fa449b5c85bc97bc7454f103a0c85
treeeb771a496273f640b41dcb9fbecf57e9f2470790
parent6f80caf974f8061993477b155f5ca72df5471d4f
procd: fix uci_validation

Regardles of the return code from validate_data _error variable will be 0 due
to 'local' command in the previous line. With this patch we are able to catch
the return code from validate_data tool.

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41414 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/system/procd/Makefile
package/system/procd/files/procd.sh