summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/swap.c1
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)