mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
kselftests/ir : Improve readability of modprobe error message
Improve the readability of error message which says module not found. The new behaviour is consistent with the modprobe command. Signed-off-by: Gautam Menghani <gautammenghani201@gmail.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
c7b607fa93
commit
15477b31db
@ -10,7 +10,7 @@ if [ $UID != 0 ]; then
|
||||
fi
|
||||
|
||||
if ! /sbin/modprobe -q -n rc-loopback; then
|
||||
echo "ir_loopback: module rc-loopback is not found [SKIP]"
|
||||
echo "ir_loopback: module rc-loopback is not found in /lib/modules/`uname -r` [SKIP]"
|
||||
exit $ksft_skip
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user