install_bin : use exit 0 instead of return

This commit is contained in:
bolvan 2019-05-08 13:13:45 +03:00
parent 838692a814
commit a104c76e3c

View File

@ -27,8 +27,7 @@ if [ "$1" = "getarch" ]; then
do
if check_dir $arch; then
echo $arch
true
return
exit 0
fi
done
else
@ -41,8 +40,7 @@ else
ccp $arch/mdig mdig
ccp $arch/nfqws nfq
ccp $arch/tpws tpws
true
return
exit 0
else
echo $arch is NOT OK
fi