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

Choose an error code according to a failed priority setting #265

Open
elfring opened this issue Sep 26, 2021 · 1 comment
Open

Choose an error code according to a failed priority setting #265

elfring opened this issue Sep 26, 2021 · 1 comment
Assignees

Comments

@elfring
Copy link

elfring commented Sep 26, 2021

The script “guider.py” contains the following source code at the moment.

except:
            SysMgr.printErr((
                'fail to set the I/O schedling priority '
                'for %s(%s) to %s(%s)[%s]') % \
                    (comm, pid, ioclass, pri, nmWho), True)
            sys.exit(0)
…
  1. I suggest to use the text “failed to set the I/O scheduling priority” instead.
  2. Would you like to pass a more appropriate error code to the exit method call?
@iipeace
Copy link
Owner

iipeace commented Sep 27, 2021

I completely agree with you ;(

@iipeace iipeace self-assigned this Sep 27, 2021
iipeace added a commit that referenced this issue Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants