]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/swap.c
Merge pull request #9624 from poettering/service-state-flush
[thirdparty/systemd.git] / src / core / swap.c
index e01e61e56d51f29a969788a7ec2fa96a5ca1eb8b..000c028e77361ac8b7241f3f2df70c734b36cf54 100644 (file)
@@ -854,6 +854,7 @@ static int swap_start(Unit *u) {
                 return r;
 
         s->result = SWAP_SUCCESS;
+        exec_command_reset_status_array(s->exec_command, _SWAP_EXEC_COMMAND_MAX);
 
         u->reset_accounting = true;