Skip to content
Snippets Groups Projects
Commit 2ae05c57 authored by John Crispin's avatar John Crispin
Browse files

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: default avatarBastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 42278
parent fdc41e2f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment