Skip to content

Commit bf8cefc

Browse files
committed
[fix] : No output in kernel module check
1 parent a284d64 commit bf8cefc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ prepare_env() {
335335
# Load loop kernel module
336336
if [[ "${noloopmod}" = false ]]; then
337337
[[ ! -d "/usr/lib/modules/$(uname -r)" ]] && msg_error "The currently running kernel module could not be found.\nProbably the system kernel has been updated.\nReboot your system to run the latest kernel." "1"
338-
lsmod | getclm 1 | grep -x "loop" || modprobe loop
338+
lsmod | getclm 1 | grep -qx "loop" || modprobe loop
339339
fi
340340

341341
# Check work dir

0 commit comments

Comments
 (0)