summaryrefslogtreecommitdiffstats
path: root/shell-completion
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:15:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:15:54 +0000
commitb492568d6a2b0cda271f28bc61ebc31df8cef296 (patch)
tree59e1fe0085540c2dd20a2ffa171f0bb8c732f7d4 /shell-completion
parentAdding upstream version 256. (diff)
downloadsystemd-upstream.tar.xz
systemd-upstream.zip
Adding upstream version 256.1.upstream/256.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/udevadm5
1 files changed, 1 insertions, 4 deletions
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() {