mythfrontend script incorrectly quotes MYTHFRONTEND_OPTS

Bug #224073 reported by Doug
4
Affects Status Importance Assigned to Milestone
Mythbuntu
New
Undecided
Unassigned

Bug Description

Hi,
While trying to create logs to help with a mythtv issue:

http://svn.mythtv.org/trac/ticket/5261

I found that commenting in MYTHFRONTEND_OPTS fails because
of the quotes in the invocation of mythfrontend.real. The problem line
in /usr/bin/mythfrontend is:

                /usr/bin/mythfrontend.real "$@"

When $@ is made up of multiple arguments, for example when uncommenting
the line in /etc/mythtv/session-settings, the above cause mythfrontend.real to
treat it all as a single argument with quoted space:

MYTHFRONTEND_OPTS="--verbose all,nodatabase"

mythfrontend.real will then exit with an error and output the correct usage.

The solution is to change the line to:

                /usr/bin/mythfrontend.real $@

Cheers,

Doug

Revision history for this message
finlay (finlay-moeraki) wrote :

THis bug is the same as #212604. Recently I have found that the above fix does not work with the latest backport update. Instead the patch in #212604 must be used - it uncomments MYTHFRONTEND_OPTS.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.