From 5ae24b650c1d16e16db95f83182a001a09badd7e Mon Sep 17 00:00:00 2001 From: James Swineson Date: Sat, 24 Aug 2019 15:03:00 +0800 Subject: [PATCH] return instead of exit when --lib --- menhera.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menhera.sh b/menhera.sh index 990e540..2e45f3d 100755 --- a/menhera.sh +++ b/menhera.sh @@ -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