fix environment file to not fill with duplicate values with restart container
Build and Push Docker Container / build-and-push (push) Successful in 58s
Build and Push Docker Container / build-and-push (push) Successful in 58s
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
if [ ! -z $(cat /etc/environment | grep "USE_TMUX_SHELL") ] && [[ -t 0 ]] && [ -z "$TMUX" ]; then
|
||||
if grep -q "USE_TMUX_SHELL" /etc/environment && [[ -t 0 ]] && [ -z "$TMUX" ]; then
|
||||
tmux attach || tmux new-session
|
||||
exit
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user