1
1
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:
Lennart Poettering 2013-08-13 17:48:42 +02:00
parent 38563c1947
commit ee530d8b73

View File

@ -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);