mirror of
https://github.com/systemd/systemd.git
synced 2025-07-06 12:59:11 +03:00
test/test-functions: instmods call to find should use -type f
without using -type f, the logs print an error such as: E: E: modprobe: FATAL: Module asymmetric_keys not found in directory /lib/modules/4.15.0-54-generic while this doesn't appear to cause problems, it can be extremely distracting when trying to debug real failures.
This commit is contained in:
@ -1587,7 +1587,7 @@ instmods() {
|
|||||||
| instmods
|
| instmods
|
||||||
else
|
else
|
||||||
( [[ "$_mpargs" ]] && echo $_mpargs
|
( [[ "$_mpargs" ]] && echo $_mpargs
|
||||||
find "$KERNEL_MODS" -path "*/${_mod#=}/*" -printf '%f\n' ) \
|
find "$KERNEL_MODS" -path "*/${_mod#=}/*" -type f -printf '%f\n' ) \
|
||||||
| instmods
|
| instmods
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user