From 7257648854d395257843e449a0763c31150c48b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 16 Sep 2024 20:09:07 +0200 Subject: Merging upstream version 256.1. Signed-off-by: Daniel Baumann --- shell-completion/bash/udevadm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'shell-completion/bash') diff --git a/shell-completion/bash/udevadm b/shell-completion/bash/udevadm index 05f921c..3842d72 100644 --- a/shell-completion/bash/udevadm +++ b/shell-completion/bash/udevadm @@ -32,10 +32,7 @@ __get_all_sysdevs() { } __get_all_device_nodes() { - local i - for i in /dev/* /dev/*/* /dev/*/*/*; do - echo $i - done + find /dev -xtype b -o -xtype c } __get_all_device_units() { -- cgit v1.2.3