From 7a6000a68241d23c9f6f6bde47b2cfa9c18189da Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 5 May 2011 10:58:55 +0200 Subject: unit: make ignoring in snapshots a per unit property, instead of a per unit type property --- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/device.c') 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, -- cgit v1.2.3-54-g00ecf