From: Kay Sievers Date: Tue, 15 Feb 2011 17:38:15 +0000 (+0100) Subject: swap: handle "nofail" from fstab X-Git-Tag: v18~8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=853856101be1c396afcb0ec1338774d62c863337;p=systemd swap: handle "nofail" from fstab --- 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)