summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJacek Galowicz <jacek@galowicz.de>2020-08-23 20:42:07 +0200
committerGitHub <noreply@github.com>2020-08-23 20:42:07 +0200
commit7e545bd7f353692cb803d799a3a5aab98b021b4d (patch)
tree23677a6ffeb3285edff48158910e92ede0a4a37c /nixos
parent70cfd9d25e1d4f5a40f5d0a518f0749635792667 (diff)
parentb4fab1cdff24fd17f729450c0d753818d5d6e352 (diff)
downloadnixpkgs-7e545bd7f353692cb803d799a3a5aab98b021b4d.tar
nixpkgs-7e545bd7f353692cb803d799a3a5aab98b021b4d.tar.gz
nixpkgs-7e545bd7f353692cb803d799a3a5aab98b021b4d.tar.bz2
nixpkgs-7e545bd7f353692cb803d799a3a5aab98b021b4d.tar.lz
nixpkgs-7e545bd7f353692cb803d799a3a5aab98b021b4d.tar.xz
nixpkgs-7e545bd7f353692cb803d799a3a5aab98b021b4d.tar.zst
nixpkgs-7e545bd7f353692cb803d799a3a5aab98b021b4d.zip
Merge pull request #96094 from helsinki-systems/fix/test/installer-btrfs-warning
nixosTests.installer.btrfsSubvolDefault: fix warning
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/installer.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index 02b839fee3f..50c6af485da 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -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