init: escaping of quotes in exec doesn't work

Reported by Tom Wright on 2010-03-11
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
upstart
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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers