Bug 55795

Summary: Trailing ; problem [ w/ patch ]
Product: systemd Reporter: Oleksii Shevchuk <public.avatar>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Properly interpret \; token

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.