Rogério,

On Fri, 25 Dec 2009, Rogério Brito wrote:

> Closes: 562496
> Changes:
>  usbmount (0.0.19.1) unstable; urgency=low
>  .
>    * The "Oh, oh, oh" release.
>    * Hotfix a bug discovered by Gregor Herrmann. Closes: #562496.

That fix is, unfortunatelly, not enough.  Your regex:

        egrep -q "^[[:blank:]]*$DEVNAME" /etc/fstab

will not do an exact match.  It will match both:

        /dev/foo

and:

        /dev/foobar

Therefore you should change that to something like:

    if egrep -q "^[[:blank:]]*$DEVNAME[[:blank:]]" $FSTAB; then
                                      ^^^^^^^^^^^

in a couple of places.


Cheers,

-- 
Cristian



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

Reply via email to