zsh: lsdisk: fix typo introduced through rewrapping
authorBernhard Tittelbach <bernhard@tittelbach.org>
Mon, 2 Jan 2012 18:05:14 +0000 (19:05 +0100)
committerBernhard Tittelbach <bernhard@tittelbach.org>
Mon, 2 Jan 2012 18:05:14 +0000 (19:05 +0100)
usr_share_grml/zsh/functions/lsdisk

index ef0a64e..d5bc9dd 100644 (file)
@@ -27,6 +27,7 @@ for dev in "$disks[@]"; do
                  ${mountinfo["$dev"][(w)1]} \
                  ${mountinfo["$dev"][(w)2]} \
                  "${mountinfo["$dev"][(w)3,-5]}"
+    fi
     for sysdevsize in \
         /sys/block/${dev:t}/size(N) \
         /sys/block/${${dev:t}%%<->}/${dev:t}/size(N)