* наб <nabijaczleweli@xxxxxxxxxxxxxxxxxx>, 2023-04-21 13:34:
/etc/bash.bashrc: line 7: PS1: unbound variable
How come? bash is not supposed to read bashrc if the shell is
non-interactive (unless you instruct it otherwise).
No clue, surprised me as well, esp. since I didn't see any funny bash
flags to force interactivity.
I did some googling, which led me to this this:
https://lists.debian.org/Ywohi2WEtK+TtquZ@xxxxxxxxxxxx
I can reproduce the bug in unstable:
$ (SSH_CLIENT=moo bash -uc true)
/etc/bash.bashrc: line 7: PS1: unbound variable
What is this I don't even.
--
Jakub Wilk