summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-05-05 10:58:55 +0200
committerLennart Poettering <lennart@poettering.net>2011-05-05 10:58:55 +0200
commit7a6000a68241d23c9f6f6bde47b2cfa9c18189da (patch)
tree76fb3e89d3fa2caf4425e987197d2371563c1b1d /src/device.c
parenta96257af783f1d2c35a957466856e62ebf82bcad (diff)
unit: make ignoring in snapshots a per unit property, instead of a per unit type property
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index d507b701f1..64b21903ed 100644
--- a/src/device.c
+++ b/src/device.c
@@ -72,6 +72,7 @@ static void device_init(Unit *u) {
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) {
@@ -584,7 +585,6 @@ const UnitVTable device_vtable = {
.suffix = ".device",
.no_instances = true,
- .no_snapshots = true,
.init = device_init,