chiark / gitweb /
util: add shell_maybe_quote() call for preparing a string for shell cmdline inclusion
authorLennart Poettering <lennart@poettering.net>
Thu, 9 Apr 2015 16:32:21 +0000 (18:32 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 06:54:40 +0000 (07:54 +0100)
If necessary the passed string is enclosed in "", and all special
characters escapes.

This also ports over usage in bus-util.c and job.c to use this, instead
of a incorrect local implementation that forgets to properly escape.


No differences found