mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2026-01-08 12:14:47 +00:00
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>
SVN-Revision: 42278
|
||
|---|---|---|
| .. | ||
| config | ||
| hotplug.d/net | ||
| init.d | ||
| rc.button | ||
| uci-defaults | ||
| banner | ||
| device_info | ||
| diag.sh | ||
| group | ||
| hosts | ||
| inittab | ||
| openwrt_release | ||
| openwrt_version | ||
| passwd | ||
| preinit | ||
| profile | ||
| protocols | ||
| rc.common | ||
| rc.local | ||
| services | ||
| shadow | ||
| shells | ||
| sysctl.conf | ||
| sysupgrade.conf | ||