From 853856101be1c396afcb0ec1338774d62c863337 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 15 Feb 2011 18:38:15 +0100 Subject: [PATCH] swap: handle "nofail" from fstab --- src/swap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/swap.c b/src/swap.c index db0614b9..4ffe19f1 100644 --- a/src/swap.c +++ b/src/swap.c @@ -177,6 +177,7 @@ static int swap_add_target_links(Swap *s) { return r; if (!p->noauto && + !p->nofail && (p->handle || s->meta.manager->swap_auto) && s->from_etc_fstab && s->meta.manager->running_as == MANAGER_SYSTEM) -- 2.39.5