• Bug#258463: cryptsetup: A better way to test

    From Wesley W. Terpstra@1:229/2 to Micah Anderson on Sun Aug 15 20:00:18 2004
    From: [email protected]

    On Sat, Jul 24, 2004 at 12:27:05PM -0500, Micah Anderson wrote:
    Package: cryptsetup
    Version: 0.1-2
    Followup-For: Bug #258463


    A better way to do that test would be as follows:

    < if test -f "$key" ; then
    ---
    if test -c "$key" || test -f "$key" ; then

    Someone might also put the key on a FIFO, or even a block device...


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)