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

fix(multipath): revise multipathd-stop #1330

Merged
merged 1 commit into from
Mar 31, 2021

Conversation

haraldh
Copy link
Collaborator

@haraldh haraldh commented Mar 31, 2021

A shellcheck regression quoted HARD in

    kill "$HARD" "$pid" > /dev/null 2>&1

which would error on an empty "HARD".

Instead of fixing this, use pkill instead and also add it to the
non-optional list of binaries to install, which was revised also.

Fixes: #1275

A shellcheck regression quoted `HARD` in
```shell
    kill "$HARD" "$pid" > /dev/null 2>&1
```

which would error on an empty "HARD".

Instead of fixing this, use `pkill` instead and also add it to the
non-optional list of binaries to install, which was revised also.

Fixes: dracutdevs#1275
@haraldh haraldh enabled auto-merge (rebase) March 31, 2021 08:24
@haraldh haraldh disabled auto-merge March 31, 2021 08:26
@haraldh haraldh marked this pull request as draft March 31, 2021 08:27
@haraldh haraldh marked this pull request as ready for review March 31, 2021 08:41
@haraldh haraldh enabled auto-merge (rebase) March 31, 2021 08:41
@github-actions github-actions bot added modules Issue tracker for all modules multipath Issues related to the multipath module labels Mar 31, 2021
@haraldh haraldh merged commit 7b8c78f into dracutdevs:master Mar 31, 2021
@haraldh haraldh deleted the shchk_regr_multipath branch March 31, 2021 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modules Issue tracker for all modules multipath Issues related to the multipath module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

shellcheck regression 90multipath/multipathd-stop.sh
3 participants