Skip to content

use $SHELL before processlist#33

Open
pfeilmann wants to merge 1 commit into
sclorg:masterfrom
pfeilmann:master
Open

use $SHELL before processlist#33
pfeilmann wants to merge 1 commit into
sclorg:masterfrom
pfeilmann:master

Conversation

@pfeilmann
Copy link
Copy Markdown

it would be nice not use the processlist as first check because it
dosn't work on systems that have no access to /proc

it would be nice not use the processlist as first check because it
dosn't work on systems that have no access to /proc
@voxik
Copy link
Copy Markdown
Collaborator

voxik commented Oct 26, 2020

Could you please provide more context? Where is this issue or under what conditions?

@pfeilmann
Copy link
Copy Markdown
Author

I have a case where i can't access /proc (permissions).
So the ps command is failing:

Error, do this: mount -t proc proc /proc
basename: missing operand
Try 'basename --help' for more information.

every time scl-init.sh get loaded/executed.

I would think if $SHELL is defined why not use it? I know without access to /proc is a corner case but would be great if it works :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants