From ede67c8d6fae73b36a1b2aa3724a9570ccab1078 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 12 Nov 2022 11:47:10 +0100 Subject: [PATCH] fix kexec test --- nixos-remote | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos-remote b/nixos-remote index 3e8b517..67a1934 100755 --- a/nixos-remote +++ b/nixos-remote @@ -67,11 +67,10 @@ ssh_() { } # first check if the remote system is kexec booted -if $(ssh_ -- test -e /etc/is-kexec); then +if $(ssh_ -- test -e /etc/is_kexec); then is_kexec=y fi - echo ${is_kexec-n} if [ ${is_kexec-n} != "y" ]; then # TODO we probably need an architecture detection here