mirror of
https://github.com/systemd/systemd.git
synced 2025-03-08 08:58:27 +03:00
test: make the symlink helpers a bit more quiet
and show only errors/warnings.
This commit is contained in:
parent
d6ef4ebbda
commit
90743af65d
@ -24,7 +24,6 @@ helper_check_device_symlinks() {(
|
||||
|
||||
while read -r link; do
|
||||
target="$(readlink -f "$link")"
|
||||
echo "$link -> $target"
|
||||
# Both checks should do virtually the same thing, but check both to be
|
||||
# on the safe side
|
||||
if [[ ! -e "$link" || ! -e "$target" ]]; then
|
||||
@ -48,8 +47,6 @@ helper_check_udev_watch() {(
|
||||
|
||||
while read -r link; do
|
||||
target="$(readlink "$link")"
|
||||
echo "$link -> $target"
|
||||
|
||||
if [[ ! -L "/run/udev/watch/$target" ]]; then
|
||||
echo >&2 "ERROR: symlink /run/udev/watch/$target does not exist"
|
||||
return 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user