procd: fix uci_validation
authorJohn Crispin <john@openwrt.org>
Mon, 30 Jun 2014 09:57:29 +0000 (09:57 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 30 Jun 2014 09:57:29 +0000 (09:57 +0000)
commit78ec65b8adf3576749295162071855e7ac0c31aa
treeeb771a496273f640b41dcb9fbecf57e9f2470790
parentb8823cefd019e6fd5b37d4195d3f79d585312922
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>
SVN-Revision: 41414
package/system/procd/Makefile
package/system/procd/files/procd.sh