mirror of https://github.com/nocturn9x/nimd.git
Fixed typo
This commit is contained in:
parent
7fe67c0495
commit
1cebcc0d90
|
@ -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="):
|
||||
|
|
Loading…
Reference in New Issue