chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
units: enable getty.target by default
[elogind.git]
/
src
/
mount.c
diff --git
a/src/mount.c
b/src/mount.c
index d651e8714bb2115abf8b16e15fc75f2fc2f44cb3..5a05e2c18916116aaf22d76cc6931ac4f0eaecad 100644
(file)
--- a/
src/mount.c
+++ b/
src/mount.c
@@
-1228,7
+1228,7
@@
static char *fstab_node_to_udev_node(char *p) {
if (startswith(p, "LABEL=")) {
if (startswith(p, "LABEL=")) {
- if (!(u = unquote(p+6,
'"'
)))
+ if (!(u = unquote(p+6,
"\"\'"
)))
return NULL;
t = xescape(u, "/ ");
return NULL;
t = xescape(u, "/ ");
@@
-1248,7
+1248,7
@@
static char *fstab_node_to_udev_node(char *p) {
if (startswith(p, "UUID=")) {
if (startswith(p, "UUID=")) {
- if (!(u = unquote(p+5,
'"'
)))
+ if (!(u = unquote(p+5,
"\"\'"
)))
return NULL;
t = xescape(u, "/ ");
return NULL;
t = xescape(u, "/ ");