]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90crypt/crypt-cleanup.sh: send unneeded output to /dev/null
authorHarald Hoyer <harald@redhat.com>
Tue, 7 Feb 2012 10:23:42 +0000 (11:23 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 7 Feb 2012 10:23:42 +0000 (11:23 +0100)
modules.d/90crypt/crypt-cleanup.sh

index 1b42fb50adbb36deafe5335261840f8ccddcf892..e6beb83c5891345c0fc7c4fd0abe1bbb38c95317 100755 (executable)
@@ -4,7 +4,7 @@
 # close everything which is not busy
 rm -f /etc/udev/rules.d/70-luks.rules >/dev/null 2>&1
 
-if ! getarg rd.luks.uuid rd_LUKS_UUID && getargbool 1 rd.luks -n rd_NO_LUKS; then
+if ! getarg rd.luks.uuid rd_LUKS_UUID >/dev/null 2>&1 && getargbool 1 rd.luks -n rd_NO_LUKS >/dev/null 2>&1; then
     while true; do
         local do_break="y"
         for i in /dev/mapper/luks-*; do