default turn off interactive mode when attace shell into docker

This commit is contained in:
2022-07-01 18:47:48 +02:00
parent 3ab8c96270
commit ce09d2af05
2 changed files with 8 additions and 5 deletions
+2
View File
@@ -91,12 +91,14 @@ function print_container_info {
##############################################################################################################################
# Run Code
##############################################################################################################################
if [ "$INTERACTIVE_MODE" != "false" ]; then
find_borg_repo backups/
export BORG_REPO="${repo_list[selected_repo]}"
if [ ! -z "$BORG_REPO" ]; then
ask_for_repo_password
clear
fi
fi
print_container_info
neofetch
+1
View File
@@ -4,6 +4,7 @@ ENV USER=borg
ENV UID=1000
ENV GID=1000
ENV MAINTENANCE_ENABLE="false"
ENV INTERACTIVE_MODE="false"
ENV TZ=""
# Add Folders and Shell Scripts