mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
modprobe-small: hopefully fix bug 591 (incorrect detection of alias with '-')
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
386bc9fda3
commit
f9c814b0ee
@ -218,6 +218,7 @@ static void parse_module(module_info *info, const char *pathname)
|
||||
bksp(); /* remove last ' ' */
|
||||
appendc('\0');
|
||||
info->aliases = copy_stringbuf();
|
||||
replace(info->aliases, '-', '_');
|
||||
|
||||
/* "dependency1 depandency2" */
|
||||
reset_stringbuf();
|
||||
|
Loading…
Reference in New Issue
Block a user