summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorajs124 <git@ajs124.de>2020-08-23 16:10:02 +0200
committerajs124 <git@ajs124.de>2020-08-23 16:10:02 +0200
commitb4fab1cdff24fd17f729450c0d753818d5d6e352 (patch)
tree323a034cefb506adf89497efa16243ff862778f0 /nixos
parent3a84452a6e32131110f6094945b49443b59fa849 (diff)
downloadnixpkgs-b4fab1cdff24fd17f729450c0d753818d5d6e352.tar
nixpkgs-b4fab1cdff24fd17f729450c0d753818d5d6e352.tar.gz
nixpkgs-b4fab1cdff24fd17f729450c0d753818d5d6e352.tar.bz2
nixpkgs-b4fab1cdff24fd17f729450c0d753818d5d6e352.tar.lz
nixpkgs-b4fab1cdff24fd17f729450c0d753818d5d6e352.tar.xz
nixpkgs-b4fab1cdff24fd17f729450c0d753818d5d6e352.tar.zst
nixpkgs-b4fab1cdff24fd17f729450c0d753818d5d6e352.zip
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