1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

tree-wide: drop trailing whitespace

This commit is contained in:
Lennart Poettering 2018-06-12 12:03:28 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 8b9e4b2136
commit f86fae61ec
2 changed files with 3 additions and 3 deletions

View File

@ -806,7 +806,7 @@ CapabilityBoundingSet=~CAP_B CAP_C</programlisting>
<listitem><para>These options take a whitespace-separated list of directory names. The specified directory
names must be relative, and may not include <literal>..</literal>. If set, one or more
directories by the specified names will be created (including their parents) below the locations
defined in the following table, when the unit is started.</para>
defined in the following table, when the unit is started.</para>
<table>
<title>Automatic directory creation</title>
<tgroup cols='3'>
@ -846,7 +846,7 @@ CapabilityBoundingSet=~CAP_B CAP_C</programlisting>
</tbody>
</tgroup>
</table>
<para>In case of <varname>RuntimeDirectory=</varname> the lowest subdirectories are removed when the unit is
stopped. It is possible to preserve the specified directories in this case if
<varname>RuntimeDirectoryPreserve=</varname> is configured to <option>restart</option> or <option>yes</option>

View File

@ -520,7 +520,7 @@ int session_device_save(SessionDevice *sd) {
if (sd->pushed_fd)
return 0;
/* Session ID does not contain separators. */
id = sd->session->id;
assert(*(id + strcspn(id, "-\n")) == '\0');