You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get error message containing the following:
sh: 1: [: Linux: unexpected operator
sh: 1: [: Linux: unexpected operator
Trying to debug, it appears the following command is being executed: uname && if [ $(uname) == "Linux" ] ; then ps axww -o pid=,comm=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,args= ; elif [ $(uname) == "Darwin" ] ; then ps axww -o pid=,comm=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,args= -c; fi
I get the following output executing the command manually.
I believe the problem is the use of '=='. As far as I know, this depends on bash. The normal shell should use '=' instead.
Type: Debugger
Describe the bug
To Reproduce
Steps to reproduce the behavior:
sh: 1: [: Linux: unexpected operator
sh: 1: [: Linux: unexpected operator
Trying to debug, it appears the following command is being executed:
uname && if [ $(uname) == "Linux" ] ; then ps axww -o pid=,comm=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,args= ; elif [ $(uname) == "Darwin" ] ; then ps axww -o pid=,comm=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,args= -c; fi
I get the following output executing the command manually.
I believe the problem is the use of '=='. As far as I know, this depends on bash. The normal shell should use '=' instead.
Additional context
Output window contains:
Linux
sh: 1: [: Linux: unexpected operator
sh: 1: [: Linux: unexpected operator
Nothing else is logged, despite logging being enabled
The text was updated successfully, but these errors were encountered: