[systemd-commits] src/swap.c
Kay Sievers
kay at kemper.freedesktop.org
Tue Feb 15 09:38:49 PST 2011
src/swap.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 853856101be1c396afcb0ec1338774d62c863337
Author: Kay Sievers <kay.sievers at vrfy.org>
Date: Tue Feb 15 18:38:15 2011 +0100
swap: handle "nofail" from fstab
diff --git a/src/swap.c b/src/swap.c
index db0614b..4ffe19f 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)
More information about the systemd-commits
mailing list