nixos/install-grub: Fix typo
This commit is contained in:
parent
e39b1f4ec8
commit
ccc758f414
@ -135,7 +135,7 @@ sub GrubFs {
|
|||||||
if ($fs->type eq 'btrfs') {
|
if ($fs->type eq 'btrfs') {
|
||||||
my ($status, @id_info) = runCommand("btrfs subvol show @{[$fs->mount]}");
|
my ($status, @id_info) = runCommand("btrfs subvol show @{[$fs->mount]}");
|
||||||
if ($status != 0) {
|
if ($status != 0) {
|
||||||
die "Failed to retreive subvolume info for @{[$fs->mount]}\n";
|
die "Failed to retrieve subvolume info for @{[$fs->mount]}\n";
|
||||||
}
|
}
|
||||||
my @ids = join("", @id_info) =~ m/Object ID:[ \t\n]*([^ \t\n]*)/;
|
my @ids = join("", @id_info) =~ m/Object ID:[ \t\n]*([^ \t\n]*)/;
|
||||||
if ($#ids > 0) {
|
if ($#ids > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user