1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-01 05:47:04 +03:00

tests: drop unnecessary redirection of stderr

command -v doesn't print anything to stderr, let's use the canonical
form with just >/dev/null.

(cherry picked from commit e80444729fbfc05d4b22e775072165eba72fae72)
(cherry picked from commit fdef50b998bc2e9f30fba5df2a4e48f2d9947353)
(cherry picked from commit 9ff887b8620f8df121b273ebe15e6dfaca9d1aa4)
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-05-29 12:28:34 +02:00 committed by Luca Boccassi
parent ab401ac32d
commit 7920dd23ba

View File

@ -3,7 +3,7 @@
set -eux
set -o pipefail
if ! command -v systemd-repart &>/dev/null; then
if ! command -v systemd-repart >/dev/null; then
echo "no systemd-repart" >/skipped
exit 0
fi