diff options
author | Jan Engelhardt <jengelh@inai.de> | 2014-02-16 13:58:18 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-02-17 19:03:07 -0500 |
commit | a87f0f726ca6dc9fde11eea6591a244e77d2d182 (patch) | |
tree | 1c2e202bbaddce9cfa4b933ba42b793ad35c32e6 | |
parent | c305c32580a1d7689a401e8cf673ec7936c12bbe (diff) |
core: more exact test on the procfs special string "(deleted)"
In other parts of systemd, the code checks for " (deleted)",
but in one instance, it did not (yet). Make it do the same.
-rw-r--r-- | src/core/umount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/umount.c b/src/core/umount.c index 30111bea80..2d166c1c92 100644 --- a/src/core/umount.c +++ b/src/core/umount.c @@ -170,7 +170,7 @@ static int swap_list_get(MountPoint **head) { continue; } - if (endswith(dev, "(deleted)")) { + if (endswith(dev, " (deleted)")) { free(dev); continue; } |