diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-11-15 18:26:37 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-11-15 18:26:37 +0100 |
commit | 8c4dd542afde23d21d736b24b5ab66c25ab091e8 (patch) | |
tree | 58e4044628e981d364a0fa940fd6055dd217a7ea /src/cryptsetup-generator.c | |
parent | 99f08d14a7e4210bdb97b8c9d0752ec318ecca30 (diff) |
units: get rid of no_requires unit flag, and make crypto disks require cryptsetup service
Diffstat (limited to 'src/cryptsetup-generator.c')
-rw-r--r-- | src/cryptsetup-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptsetup-generator.c b/src/cryptsetup-generator.c index b8db0d5e1c..a2b398dd15 100644 --- a/src/cryptsetup-generator.c +++ b/src/cryptsetup-generator.c @@ -163,7 +163,7 @@ static int create_disk( to = NULL; e = unit_name_escape(name); - if (asprintf(&to, "%s/dev-mapper-%s.device.wants/%s", arg_dest, e, n) < 0) { + if (asprintf(&to, "%s/dev-mapper-%s.device.requires/%s", arg_dest, e, n) < 0) { r = -ENOMEM; goto fail; } |