Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install script may require manual intervention when console size is small #161

Closed
ghost opened this issue Oct 11, 2020 · 1 comment
Closed
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@ghost
Copy link

ghost commented Oct 11, 2020

Problem

The script hangs on systemd-analyze cat-config output when console size is small and requires manual intervention to continue. By default, systemd-analyze cat-config automatically pipes output to a pager when output exceeds console size. This behavior should be disabled in a non-interactive script.

Proposed fix

Change

systemd-analyze cat-config "$@"

to

systemd-analyze --no-pager cat-config "$@" 
@IceCodeNew
Copy link
Collaborator

Good catch, I'll fix this issue later.

@IceCodeNew IceCodeNew self-assigned this Oct 12, 2020
@IceCodeNew IceCodeNew added bug Something isn't working good first issue Good for newcomers labels Oct 12, 2020
IceCodeNew added a commit to IceCodeNew/fhs-install-v2ray that referenced this issue Oct 12, 2020
lql341 added a commit to lql341/fhs-install-v2ray that referenced this issue Oct 13, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
xudn added a commit to xudn/fhs-install-v2ray that referenced this issue Oct 13, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant