Fixed typo

This commit is contained in:
Nocturn9x 2021-12-02 02:57:46 +01:00
parent 7fe67c0495
commit 1cebcc0d90
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ proc parseFileSystemTable*(fstab: string): seq[tuple[source, target, filesystemt
# in our temporary list
temp = line.split().filterIt(it != "").join(" ").split(maxsplit=6)
if temp[0].toLowerAscii().startswith("id="):
temp[0] = &"""disk/by-id/{temp[0].split("=", maxsplit=2)[1]}"""
temp[0] = &"""/dev/disk/by-id/{temp[0].split("=", maxsplit=2)[1]}"""
if temp[0].toLowerAscii().startswith("label="):
temp[0] = &"""/dev/disk/by-label/{temp[0].split("=", maxsplit=2)[1]}"""
if temp[0].toLowerAscii().startswith("uuid="):