From: John Crispin Date: Mon, 25 Aug 2014 06:35:50 +0000 (+0000) Subject: package/*: remove useless explicit set of function returncode X-Git-Tag: reboot~6127 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;ds=sidebyside;h=2ae05c57f8d4cb557a5ea733c2795b8462f00062;hp=2ae05c57f8d4cb557a5ea733c2795b8462f00062;p=openwrt%2F.git 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 SVN-Revision: 42278 ---