nixos/install-grub: Fix typo

This commit is contained in:
William A. Kennington III 2014-09-02 18:56:53 -07:00
parent e39b1f4ec8
commit ccc758f414

View File

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