Bug 55795 - Trailing ; problem [ w/ patch ]
Summary: Trailing ; problem [ w/ patch ]
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-09 08:56 UTC by Oleksii Shevchuk
Modified: 2012-11-19 08:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Properly interpret \; token (582 bytes, patch)
2012-11-02 20:51 UTC, Oleksii Shevchuk
Details | Splinter Review

Description Oleksii Shevchuk 2012-10-09 08:56:40 UTC
Parser shouldn't remove trailing ';' , if passed in quotes. 

Example:
ExecStartPre=/usr/bin/find %h/.mozilla/firefox/ -name "*.sqlite" -exec /usr/bin/sqlite3 {} VACUUM ';' 

[pid  6372] execve("/usr/bin/find", ["/usr/bin/find", "/home/avatar/.mozilla/firefox/", "-name", "*.sqlite", "-exec", "/usr/bin/sqlite3", "{}", "VACUUM"], [/* 84 vars */]) = 0
Comment 1 Oleksii Shevchuk 2012-11-02 20:51:18 UTC
Created attachment 69460 [details] [review]
Properly interpret \; token

Some commands like use \; token. Add this token to parser


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.