netifd: return error status in reload_service
authorHans Dedecker <dedeckeh@gmail.com>
Fri, 21 Apr 2017 09:44:57 +0000 (11:44 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 13 Dec 2017 14:17:54 +0000 (15:17 +0100)
commita1392e08c56e01f27e1312e59f4d90a50ed7d0bd
tree64caf5fe0b588b3e5e730b9fe628098aa1f5ecd9
parent10182cb2c6c415cfd114cbbb076db2b368f80c1d
netifd: return error status in reload_service

Based on a patch by Alexandru Ardelean.
netifd ubus reload call returns the actual reload error status;
return error status as well in reload_service

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
(cherry picked from commit 4b195a611fe146969e813ce77ecf74ce5f9c176b)
package/network/config/netifd/files/etc/init.d/network