summaryrefslogtreecommitdiff
path: root/src/core/unit.c
diff options
context:
space:
mode:
authorTadej Janež <tadej.j@nez.si>2015-11-22 20:38:05 +0100
committerTadej Janež <tadej.j@nez.si>2015-11-22 20:38:05 +0100
commite67ba783696f21782ad5c2ba00515d387016e785 (patch)
treefdba4708e29757af569ce292f269373e1775b978 /src/core/unit.c
parent0c203f1dd13a3b6f832f6254264349a5ae3976a8 (diff)
rpm: fix %systemd_user_post() macro.
Escape "--user" and "--global" arguments with "\\" since rpm treats arguments starting with "-" as macro options which causes "Unknown option" rpm error. Use %{expand:...} to force expansion of the inner macro. Otherwise %{?*} is recursively defined as "\--user \--global {%?*}" which causes "Too many levels of recursion in macro expansion" rpm error. Thanks to Michael Mráka for helping me fix the above issues.
Diffstat (limited to 'src/core/unit.c')
0 files changed, 0 insertions, 0 deletions