default turn off interactive mode when attace shell into docker
This commit is contained in:
@@ -91,11 +91,13 @@ function print_container_info {
|
||||
##############################################################################################################################
|
||||
# Run Code
|
||||
##############################################################################################################################
|
||||
find_borg_repo backups/
|
||||
export BORG_REPO="${repo_list[selected_repo]}"
|
||||
if [ ! -z "$BORG_REPO" ]; then
|
||||
ask_for_repo_password
|
||||
clear
|
||||
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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user