diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2022-12-23 16:42:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-23 16:42:23 +0000 |
commit | 8ae729e9be221bfc9fe4ade4195f42f8d4f2e757 (patch) | |
tree | 5eea6f4e38c18c6627cc3068ee2a2aeceeeccdc4 | |
parent | 3ab2a5d98df92f8b5eceee71dd1beb4678da409b (diff) | |
parent | ec3ab72d3a7444f18263c0e40fe55c6d26c08da2 (diff) |
Merge pull request #83 from lilyinstarlight/fix/swapon-typo
swap: fix typo for checking if swap is on
-rw-r--r-- | types.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -655,7 +655,7 @@ rec { type = types.functionTo diskoLib.jsonType; default = dev: { fs.${dev} = '' - if ! $(swapon --show | grep -q '^${dev} '); then + if ! swapon --show | grep -q '^${dev} '; then swapon ${dev} fi ''; |