aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Domenech Goulart <mario@ossystems.com.br>2014-04-25 10:38:57 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2014-04-25 11:30:17 -0300
commit5640eb575ee7b828713d3d44b3245c8b983b1d6e (patch)
tree231f42779b70b75cd18953d0e94301e3bfef9c1a
parentaf65c73e4d809dc9eda4cbe2a01160597131eeca (diff)
downloadmeta-fsl-arm-5640eb575ee7b828713d3d44b3245c8b983b1d6e.tar.gz
meta-fsl-arm-5640eb575ee7b828713d3d44b3245c8b983b1d6e.tar.bz2
meta-fsl-arm-5640eb575ee7b828713d3d44b3245c8b983b1d6e.zip
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 <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rwxr-xr-xscripts/get-maintainer2
1 files changed, 1 insertions, 1 deletions
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`