Skip to content

Commit

Permalink
Merge pull request #96094 from helsinki-systems/fix/test/installer-bt…
Browse files Browse the repository at this point in the history
…rfs-warning

nixosTests.installer.btrfsSubvolDefault: fix warning
  • Loading branch information
tfc authored Aug 23, 2020
2 parents 70cfd9d + b4fab1c commit 7e545bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/tests/installer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ in {
"btrfs subvol create /mnt/badpath/boot",
"btrfs subvol create /mnt/nixos",
"btrfs subvol set-default "
+ "$(btrfs subvol list /mnt | grep 'nixos' | awk '{print \$2}') /mnt",
+ "$(btrfs subvol list /mnt | grep 'nixos' | awk '{print $2}') /mnt",
"umount /mnt",
"mount -o defaults LABEL=root /mnt",
"mkdir -p /mnt/badpath/boot", # Help ensure the detection mechanism
Expand Down

0 comments on commit 7e545bd

Please sign in to comment.