diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-03 12:48:51 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-03 12:51:07 +0200 |
commit | 206e7a5f7b55ac61188efd895e65ab26e478cbb2 (patch) | |
tree | e67415e2fd5fd8aa281548200cc5fd327c1e3b97 /src/machine/machine.h | |
parent | 37520c1bec9a92adbe02fceaece588a7aa2fea2b (diff) |
machined: don't force terminate registered machines
When a machine is registered in machined with CreateMachine it is OK to
kill the machine when it is terminated, but when an existing unit is
simply registered via RegisterMachine we shouldn't do that, as the unit
is controlled by somebody else.
Diffstat (limited to 'src/machine/machine.h')
-rw-r--r-- | src/machine/machine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/machine/machine.h b/src/machine/machine.h index a894a463a9..ed1c81c4f4 100644 --- a/src/machine/machine.h +++ b/src/machine/machine.h @@ -72,6 +72,7 @@ struct Machine { bool in_gc_queue:1; bool started:1; + bool registered:1; sd_bus_message *create_message; |