mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 04:06:42 +00:00
docs(user): drop the interactive-guard comment
The guard is the line every distribution's own bashrc opens with.
This commit is contained in:
1 file changed
-5
@@ -1,10 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Exception: bash sources this file for a non-interactive shell too when sshd
|
||||
# starts it, so without this guard the banner below lands on the stdout of
|
||||
# every command Ansible runs over SSH. A task that parses its own output then
|
||||
# reads the banner instead -- starting with `clear` failing as "'unknown':
|
||||
# unknown terminal type." when there is no terminal to clear.
|
||||
case $- in
|
||||
*i*) ;;
|
||||
*) return ;;
|
||||
|
||||
Reference in new issue
Block a user