Skip to content

Commit

Permalink
dkms_autoinstaller: improve console output
Browse files Browse the repository at this point in the history
dkms autoinstall may produce multiline output
  • Loading branch information
anbe42 authored and scaronni committed Dec 6, 2023
1 parent 2f83036 commit 2016493
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dkms_autoinstaller.in
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ case "$1" in
elif ! _check_kernel_dir $kernel; then
log_action_msg "$prog: autoinstall for kernel $kernel was skipped since the kernel headers for this kernel do not seem to be installed"
else
log_daemon_msg "$prog: running auto installation service for kernel $kernel"
log_action_msg "$prog: running auto installation service for kernel $kernel"
dkms autoinstall --kernelver $kernel
log_end_msg $?
res=$?
log_daemon_msg "$prog: autoinstall for kernel" "$kernel"
log_end_msg $res
fi
;;
stop|restart|force-reload|status|reload)
Expand Down

0 comments on commit 2016493

Please sign in to comment.