From b89a2ea47e3fffb4a751595f064f732447ea200b Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 22 Sep 2023 08:23:32 +0900 Subject: [PATCH] test --- nixos/users/albert/installer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/users/albert/installer.nix b/nixos/users/albert/installer.nix index 53490f75..d650eec3 100644 --- a/nixos/users/albert/installer.nix +++ b/nixos/users/albert/installer.nix @@ -7,7 +7,7 @@ let #set -euo pipefail # check if we are running in a live CD environment. -if [ df -h | grep tmpfs | grep /$ ] ; then +if [ df -h | grep tmpfs | grep /$ | wc -l -ne 1 ]; then echo "ERROR! Not in a live CD environment (/ is not tmpfs)." exit 1 fi