mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
do not whine if /sys/block does not exist ... embedded systems dont need stinkin block devices
This commit is contained in:
parent
501b0e335f
commit
870ccd7212
@ -421,7 +421,7 @@ int mdev_main(int argc UNUSED_PARAM, char **argv)
|
||||
* (kernel's CONFIG_SYSFS_DEPRECATED makes them real dirs,
|
||||
* but we can't enforce that on users) */
|
||||
recursive_action("/sys/block",
|
||||
ACTION_RECURSE | ACTION_FOLLOWLINKS,
|
||||
ACTION_RECURSE | ACTION_FOLLOWLINKS | ACTION_QUIET,
|
||||
fileAction, dirAction, temp, 0);
|
||||
recursive_action("/sys/class",
|
||||
ACTION_RECURSE | ACTION_FOLLOWLINKS,
|
||||
|
Loading…
Reference in New Issue
Block a user