diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-11-27 12:55:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-27 12:55:37 +0100 |
commit | 1526e55f6cc7e741dae28b240bd682fd4e2bed79 (patch) | |
tree | 14eabe3cbaab7cfcc3fd42857ee973e100759c98 /src/cryptsetup/cryptsetup-generator.c | |
parent | dca63b5b46f36989f69b154d7af3b4da433ae59e (diff) | |
parent | 61c26ca87f510e9fb871093e205a33f83afabbfd (diff) | |
download | systemd-1526e55f6cc7e741dae28b240bd682fd4e2bed79.tar.gz |
Merge pull request #17732 from yuwata/core-use-synthetic_errno
core,network: use SYNTHETIC_ERRNO() macro
Diffstat (limited to 'src/cryptsetup/cryptsetup-generator.c')
-rw-r--r-- | src/cryptsetup/cryptsetup-generator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cryptsetup/cryptsetup-generator.c b/src/cryptsetup/cryptsetup-generator.c index 68c73499ce..0ae8ab35aa 100644 --- a/src/cryptsetup/cryptsetup-generator.c +++ b/src/cryptsetup/cryptsetup-generator.c @@ -445,14 +445,13 @@ static int create_disk( fprintf(f, "After=%s\n" "Requires=%s\n", unit, unit); - if (umount_unit) { + if (umount_unit) fprintf(f, "Wants=%s\n" "Before=%s\n", umount_unit, umount_unit ); - } } if (!nofail) |