procd: fix uci_validation
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 30 Jun 2014 09:57:29 +0000 (09:57 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 30 Jun 2014 09:57:29 +0000 (09:57 +0000)
commit81c0dcdff553a8325553d3d095c1757f43f0605a
treeeb771a496273f640b41dcb9fbecf57e9f2470790
parenta8dccf7d6f2c875c5c519c30a67b06a1a9f2d782
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