diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-02-15 18:38:15 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-02-15 18:38:15 +0100 |
commit | 853856101be1c396afcb0ec1338774d62c863337 (patch) | |
tree | 20f2aeb482bb1f434336c20d77735e9a40f4d231 /src | |
parent | f959c5e63a9080cbff42ac4160154f8a6b508e7a (diff) |
swap: handle "nofail" from fstab
Diffstat (limited to 'src')
-rw-r--r-- | src/swap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/swap.c b/src/swap.c index db0614b9f9..4ffe19f1e8 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) |