]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
crypt: fix printf
authorHarald Hoyer <harald@redhat.com>
Mon, 2 Aug 2010 09:26:49 +0000 (11:26 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 2 Aug 2010 12:17:58 +0000 (14:17 +0200)
modules.d/90crypt/parse-crypt.sh

index 9615e731a0169337db41206e6103679e0e19e28d..c42ff80d9777dfddbb3fa74efd96b751fab5feff 100755 (executable)
@@ -21,7 +21,7 @@ else
                 printf 'ENV{ID_FS_TYPE}=="crypto_LUKS", '
                 printf 'ENV{ID_FS_UUID}=="*%s*", ' $luksid
                 printf 'RUN+="/sbin/initqueue --unique --onetime %s ' "$settled"
-                printf '--name cryptroot-ask-%%k /sbin/cryptroot-ask '
+                printf -- '--name cryptroot-ask-%%k /sbin/cryptroot-ask '
                 printf '$env{DEVNAME} luks-$env{ID_FS_UUID}"\n'
             } >> /etc/udev/rules.d/70-luks.rules