mirror of
https://github.com/systemd/systemd
synced 2024-11-05 18:25:39 +00:00
16 lines
212 B
Text
16 lines
212 B
Text
@@
|
|
expression s;
|
|
@@
|
|
- if (empty_or_root(s))
|
|
- s = "/";
|
|
+ s = empty_to_root(s);
|
|
@@
|
|
expression s;
|
|
@@
|
|
- (empty_or_root(s) ? "/" : s)
|
|
+ empty_to_root(s)
|
|
@@
|
|
expression s;
|
|
@@
|
|
- (s ? s : "/")
|
|
+ empty_to_root(s)
|