X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fdevice.c;h=64b21903edd848f185f745bd5f58b94d44b23a09;hp=41c96cef03f0c2344df2a8302977862275534676;hb=7a6000a68241d23c9f6f6bde47b2cfa9c18189da;hpb=f6a6225e414858ff222d2b175369cc42459abf9a diff --git a/src/device.c b/src/device.c index 41c96cef0..64b21903e 100644 --- a/src/device.c +++ b/src/device.c @@ -70,6 +70,9 @@ static void device_init(Unit *u) { * happen for the other units since their operations time out * anyway. */ d->meta.job_timeout = DEFAULT_TIMEOUT_USEC; + + d->meta.ignore_on_isolate = true; + d->meta.ignore_on_snapshot = true; } static void device_done(Unit *u) { @@ -582,8 +585,6 @@ const UnitVTable device_vtable = { .suffix = ".device", .no_instances = true, - .no_snapshots = true, - .no_isolate = true, .init = device_init,