mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-28 17:57:25 +03:00
gpt-auto-generator: fix swap unit generation
This commit is contained in:
parent
38563c1947
commit
ee530d8b73
@ -175,7 +175,7 @@ static int add_swap(const char *path, const char *fstype) {
|
||||
"DefaultDependencies=no\n"
|
||||
"Conflicts=" SPECIAL_UMOUNT_TARGET "\n"
|
||||
"Before=" SPECIAL_UMOUNT_TARGET " " SPECIAL_SWAP_TARGET "\n\n"
|
||||
"[Mount]\n"
|
||||
"[Swap]\n"
|
||||
"What=%s\n",
|
||||
path);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user