docs(user): drop the interactive-guard comment

The guard is the line every distribution's own bashrc opens with.
This commit is contained in:
evangelostsak committed 2026-10-05 12:43:23 +02:00
1 parent ece2d2ff61
commit 385cadc7fa
1 file changed
-5
-5
View File
@@ -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 ;;