summaryrefslogtreecommitdiffstats
path: root/src/shared/condition.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-28 11:15:05 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-28 11:35:05 +0200
commit4ec851414248bb2031d805b40c40fdbbef899112 (patch)
tree3d19ac5c5bc39bab2fe269b6056e6ff46ca4f7f3 /src/shared/condition.c
parentReindent some things for readability (diff)
downloadsystemd-4ec851414248bb2031d805b40c40fdbbef899112.tar.xz
systemd-4ec851414248bb2031d805b40c40fdbbef899112.zip
Rename EXTRACT_QUOTES to EXTRACT_UNQUOTE
Whenever I see EXTRACT_QUOTES, I'm always confused whether it means to leave the quotes in or to take them out. Let's say "unquote", like we say "cunescape".
Diffstat (limited to 'src/shared/condition.c')
-rw-r--r--src/shared/condition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/condition.c b/src/shared/condition.c
index 56e530a57d..a54323a55a 100644
--- a/src/shared/condition.c
+++ b/src/shared/condition.c
@@ -114,7 +114,7 @@ static int condition_test_kernel_command_line(Condition *c) {
_cleanup_free_ char *word = NULL;
bool found;
- r = extract_first_word(&p, &word, NULL, EXTRACT_QUOTES|EXTRACT_RELAX);
+ r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE|EXTRACT_RELAX);
if (r < 0)
return r;
if (r == 0)