summaryrefslogtreecommitdiff
path: root/shell-completion/zsh/_udevadm
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2015-10-09 17:32:30 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2015-10-09 17:32:30 +0200
commit88ef5e639b30b53b3663f766874dc519908de74d (patch)
tree6d03c9d5d3391283e37a6e44d2a34263678f7cbb /shell-completion/zsh/_udevadm
parent2c882b8bfa29937fb808fa1dd60c2a7ab0e8e85e (diff)
parent417800228f69db9ff37f4193d11508757dd09308 (diff)
Merge pull request #1516 from poettering/dontisolaterootslice
Don't isolate `-.slice`
Diffstat (limited to 'shell-completion/zsh/_udevadm')
-rw-r--r--shell-completion/zsh/_udevadm2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/zsh/_udevadm b/shell-completion/zsh/_udevadm
index e5d252c818..bb23e64d24 100644
--- a/shell-completion/zsh/_udevadm
+++ b/shell-completion/zsh/_udevadm
@@ -89,7 +89,7 @@ _udevadm_test-builtin(){
_udevadm_mounts(){
local dev_tmp dpath_tmp mp_tmp mline
- tmp=( "${(@f)$(< /etc/mtab)}" )
+ tmp=( "${(@f)$(< /proc/self/mounts)}" )
dev_tmp=( "${(@)${(@)tmp%% *}:#none}" )
mp_tmp=( "${(@)${(@)tmp#* }%% *}" )