First login process name seems to be set to "-bash", but if I subshell then it becomes "bash". for example:
[email protected]:~# echo $0 -bash [email protected]:~# bash [email protected]:~# echo $0 bash
-bash is causing some scripts to fail, such as . /usr/share/debconf/confmodule
exec /usr/share/debconf/frontend -bash Can't exec "-bash": No such file or directory at /usr/share/perl/5.14/IPC/Open3.pm line 186. open2: exec of -bash failed at /usr/share/perl5/Debconf/ConfModule.pm line 59
Anyone know the reason $0 is set to -bash?
© Ask Ubuntu or respective owner