package/*: remove useless explicit set of function returncode
somebody started to set a function returncode in the validation stuff and everybody copies it, e.g. myfunction() { fire_command return $? } a function automatically returns with the last returncode, so we can safely remove the command 'return $?'. reference: http://tldp.org/LDP/abs/html/exit-status.html "The last command executed in the function or script determines the exit status." Signed-off-by:Bastian Bittorf <bittorf@bluebottle.com> Backport of r42278 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42379 3c298f89-4303-0410-b956-a3cf2f4a3e73
Showing
- package/base-files/files/etc/init.d/system 0 additions, 2 deletionspackage/base-files/files/etc/init.d/system
- package/network/config/firewall/files/firewall.init 0 additions, 4 deletionspackage/network/config/firewall/files/firewall.init
- package/network/config/netifd/files/etc/init.d/network 0 additions, 14 deletionspackage/network/config/netifd/files/etc/init.d/network
- package/network/services/dropbear/files/dropbear.init 0 additions, 1 deletionpackage/network/services/dropbear/files/dropbear.init
- package/network/services/relayd/files/relay.init 0 additions, 2 deletionspackage/network/services/relayd/files/relay.init
- package/system/ubox/files/log.init 0 additions, 2 deletionspackage/system/ubox/files/log.init
- package/utils/busybox/files/sysntpd 0 additions, 1 deletionpackage/utils/busybox/files/sysntpd
Loading
Please register or sign in to comment