mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/install-grub: Fix typo
This commit is contained in:
parent
e39b1f4ec8
commit
ccc758f414
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue