init: escaping of quotes in exec doesn't work

Bug #537668 reported by Tom Wright
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
upstart
Confirmed
Medium
Unassigned

Bug Description

The following configuration produces no output in /tmp/quote-test
----
description "Illustrates that quoting doesn't work"

respawn
respawn limit 30 7

exec echo "hello \" " >> /tmp/quote-test
-----

But this configuration does
----
description "Illustrates that quoting doesn't work"

respawn
respawn limit 30 7

exec echo "hello " >> /tmp/quote-test
-----

This is not what one would expect.

summary: - Escaping of quotes in and exec string doesn't work
+ init: escaping of quotes in exec doesn't work
Changed in upstart:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Sajid Sajid (sajid626) wrote :

Hello

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.