You are not logged in.
Earlier, I tried to build LineageOS on my machine, and I am getting this error in a script where it is setting up the environment, "WARNING: Only bash and zsh are supported. Use of other shell would lead to erroneous results.".
I've checked my default shell using the command echo $SHELL, and the output gives /bin/bash. And now, I've checked the script manually that the error I am getting, ps -o command -p $$; I tried to execute it and the typical ps command in my terminal, but I am getting no outputs.
In my docker, and it is working and have an output such as this,
root@2abb9d0ad85e:/# ps -o command -p $$
COMMAND
bash
https://i.imgur.com/8wHaGXt.png
moderator edit -- replaced oversized image with link.
Pasting pictures and code
Last edited by Flame (2022-06-22 13:38:22)
Offline
type -a ps
probably you are masking the actual ps with an alias or custom script or so.
Online
type -a ps
probably you are masking the actual ps with an alias or custom script or so.
You are right! I forgot that I have ps script (printscreen) in my ~/.local/bin/. Thank you!
Last edited by Flame (2022-06-22 13:39:13)
Offline