Skip to content

Commit 674e064

Browse files
committed
make warning messages more consistent
Signed-off-by: Zen <[email protected]>
1 parent cf68048 commit 674e064

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ugrd/kmod/kmod.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = 'desultory'
2-
__version__ = '2.16.1'
2+
__version__ = '2.16.2'
33

44
from pathlib import Path
55
from subprocess import run
@@ -124,7 +124,7 @@ def _autodetect_modules_lsmod(self) -> None:
124124

125125

126126
@unset('no_kmod', "no_kmod is enabled, skipping.", log_level=30)
127-
@contains('hostonly', "hostonly is not enabled, skipping.", log_level=30)
127+
@contains('hostonly', "Skipping kmod autodetection, hostonly is disabled.", log_level=30)
128128
def autodetect_modules(self) -> None:
129129
""" Autodetects kernel modules from lsmod and/or lspci -k. """
130130
if not self['kmod_autodetect_lsmod'] and not self['kmod_autodetect_lspci']:

0 commit comments

Comments
 (0)