Use -e switch after docker permission check

This commit is contained in:
Daniel 2021-03-06 15:40:19 +01:00 committed by GitHub
parent 42fd62ecfd
commit 4862eb5e84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,5 @@
#!/bin/bash
set -e
ask() {
while true ; do
if [[ -z $3 ]] ; then
@ -75,6 +73,8 @@ if [ $? -ne 0 ] ; then
sleep 3
fi
set -e
echo ""
echo "############################################"
echo "### Paperless-ng docker installation ###"