chiark / gitweb /
core: add missing show-status.[ch]
[elogind.git] / src / core / umount.c
index 30111bea80d2bb18039cf3c05a58381302fb3be0..2d166c1c92c967a69f6d060b3b8c5c8bc15faf67 100644 (file)
@@ -170,7 +170,7 @@ static int swap_list_get(MountPoint **head) {
                         continue;
                 }
 
-                if (endswith(dev, "(deleted)")) {
+                if (endswith(dev, " (deleted)")) {
                         free(dev);
                         continue;
                 }