From c96ab260530d4dcf5d75f94329304701cf0d039b Mon Sep 17 00:00:00 2001 From: Mart124 <37041094+Mart124@users.noreply.github.com> Date: Thu, 31 May 2018 20:35:54 +0200 Subject: [PATCH] Avoid error messages when self updating (#300) --- scripts/bitwarden.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/bitwarden.sh b/scripts/bitwarden.sh index 3d0c867c52..064c668d36 100755 --- a/scripts/bitwarden.sh +++ b/scripts/bitwarden.sh @@ -100,8 +100,7 @@ then $SCRIPTS_DIR/run.sh stop $OUTPUT $COREVERSION $WEBVERSION elif [ "$1" == "updateself" ] then - downloadSelf - echo "Updated self." + downloadSelf && echo "Updated self." && exit else echo "No command found." fi