From bb16f000302573fca8702cd57c27d749cce7746e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 30 Mar 2010 20:23:17 +0300 Subject: [PATCH] Get rid of one (not-prefixed-with-'command') grep. --- contrib/cryptsetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/cryptsetup b/contrib/cryptsetup index e37fcb48..03ec2a3c 100644 --- a/contrib/cryptsetup +++ b/contrib/cryptsetup @@ -2,7 +2,7 @@ _cryptsetup_name() { - COMPREPLY=( $( compgen -W '$(command ls /dev/mapper | grep -v control)' \ + COMPREPLY=( $( compgen -X control -W '$( command ls /dev/mapper )' \ -- "$cur" ) ) }