Commit 85385610 authored by Kay Sievers's avatar Kay Sievers
Browse files

swap: handle "nofail" from fstab

parent f959c5e6
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment