Comment 4 for bug 9184

Revision history for this message
In , Joshua Kwan (joshk) wrote : Re: Bug#276722: discover1: "set -e" prevents cdrom mountpoint creation

On Sat, Oct 16, 2004 at 03:23:05PM +0100, Colin Watson wrote:
> In either case, removing quoting is surely the wrong answer. I'd do one
> of these:
>
> mountsent="$(grep " $CDMOUNT " /proc/mounts || true)"
> mountsent="$(grep " $CDMOUNT " /proc/mounts)" || true

I was under the impression that quoting wasn't required for $(...)
constructs, and that having the duplicate double quotes in the middle
would render void the intentional whitespace.

Are you sure this isn't breaking more than it fixes? :)

--
Joshua Kwan