return instead of exit when --lib

This commit is contained in:
James Swineson 2019-08-24 15:03:00 +08:00 committed by GitHub
parent 9b00723bc4
commit 5ae24b650c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,7 +192,7 @@ done
if [[ $LIBRARY_ONLY -eq 1 ]]; then
# acting as a library only
exit 0
return 0
fi
if [[ $EUID -ne 0 ]]; then