From 5640eb575ee7b828713d3d44b3245c8b983b1d6e Mon Sep 17 00:00:00 2001 From: Mario Domenech Goulart Date: Fri, 25 Apr 2014 10:38:57 -0300 Subject: scripts/get-maintainer: use `exit' instead of `return' `return' can only be used from within function scope or from source'd scripts. Signed-off-by: Mario Domenech Goulart Signed-off-by: Otavio Salvador --- scripts/get-maintainer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/get-maintainer') diff --git a/scripts/get-maintainer b/scripts/get-maintainer index 1c5be02..5b82e35 100755 --- a/scripts/get-maintainer +++ b/scripts/get-maintainer @@ -47,7 +47,7 @@ done if [ -z "$path" ]; then usage - return 1 + exit 1 fi maintained=`mktemp` -- cgit v1.2.3-54-g00ecf