diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-06-25 20:16:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-06-25 20:16:15 +0200 |
commit | 35eb6b124ebdf82bd77aad6e44962a9a039c4d33 (patch) | |
tree | 95f6283713ae0d47a7ff896c188c49fdb28cb52c /src/cryptsetup | |
parent | tmpfiles: write /run/nologin during early boot to disallow too early user logins (diff) | |
download | systemd-35eb6b124ebdf82bd77aad6e44962a9a039c4d33.tar.gz systemd-35eb6b124ebdf82bd77aad6e44962a9a039c4d33.tar.bz2 systemd-35eb6b124ebdf82bd77aad6e44962a9a039c4d33.zip |
cryptsetup: fix escaping when generating cryptsetup units
Diffstat (limited to 'src/cryptsetup')
-rw-r--r-- | src/cryptsetup/cryptsetup-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptsetup/cryptsetup-generator.c b/src/cryptsetup/cryptsetup-generator.c index 4166f365e..b86521a71 100644 --- a/src/cryptsetup/cryptsetup-generator.c +++ b/src/cryptsetup/cryptsetup-generator.c @@ -81,7 +81,7 @@ static int create_disk( noauto = has_option(options, "noauto"); nofail = has_option(options, "nofail"); - n = unit_name_build_escape("systemd-cryptsetup", name, ".service"); + n = unit_name_from_path_instance("systemd-cryptsetup", name, ".service"); if (!n) { r = -ENOMEM; log_error("Failed to allocate unit name."); |