fix SC in master (#1927)

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2021-04-22 09:42:31 +02:00 committed by GitHub
parent 1a4778924f
commit acfa4f36ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ if is_docker_running
then
if docker ps -a --format '{{.Names}}' | grep -Eq "bitwarden";
then
if [ ! -d /root/bwdata ] [ ! -d "$BITWARDEN_HOME"/bwdata ]
if [ ! -d /root/bwdata ] && [ ! -d "$BITWARDEN_HOME"/bwdata ]
then
msg_box "It seems like 'Bitwarden' isn't installed.\n\nYou cannot run this script."
exit 1