The bug is primarily because of the way the bash has been executed, If the terminal is invoked as a login shell, the command
echo $0
has an output -bash, whereas if the bash is invoked as a non-login shell, the command has an output -/bin/bash
The bug is primarily because of the way the bash has been executed, If the terminal is invoked as a login shell, the command
echo $0
has an output -bash, whereas if the bash is invoked as a non-login shell, the command has an output -/bin/bash
The bug is primarily because of the way the bash has been executed, If the terminal is invoked as a login shell, the command
echo $0
has an output -bash, whereas if the bash is invoked as a non-login shell, the command has an output -/bin/bash