summaryrefslogtreecommitdiffstats
path: root/src/core/swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/swap.c')
-rw-r--r--src/core/swap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/swap.c b/src/core/swap.c
index ff6c4255ab..312db05db5 100644
--- a/src/core/swap.c
+++ b/src/core/swap.c
@@ -642,6 +642,9 @@ static int swap_spawn(Swap *s, ExecCommand *c, PidRef *ret_pid) {
if (r < 0)
return r;
+ /* Assume the label inherited from systemd as the fallback */
+ exec_params.fallback_smack_process_label = NULL;
+
r = exec_spawn(UNIT(s),
c,
&s->exec_context,