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 do
if check_dir $arch; then if check_dir $arch; then
echo $arch echo $arch
true exit 0
return
fi fi
done done
else else
@ -41,8 +40,7 @@ else
ccp $arch/mdig mdig ccp $arch/mdig mdig
ccp $arch/nfqws nfq ccp $arch/nfqws nfq
ccp $arch/tpws tpws ccp $arch/tpws tpws
true exit 0
return
else else
echo $arch is NOT OK echo $arch is NOT OK
fi fi