From aecb871de145418bf899bc65f3d3a9e33948587a Mon Sep 17 00:00:00 2001 From: "thorsten.spille" Date: Sat, 4 Mar 2023 17:20:58 +0100 Subject: [PATCH] Fix aes check --- bashclub-zsync/usr/bin/bashclub-zsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashclub-zsync/usr/bin/bashclub-zsync b/bashclub-zsync/usr/bin/bashclub-zsync index 8a75034..2c9b231 100644 --- a/bashclub-zsync/usr/bin/bashclub-zsync +++ b/bashclub-zsync/usr/bin/bashclub-zsync @@ -90,7 +90,7 @@ fi local_aes=$(/usr/bin/grep -m1 -o aes /proc/cpuinfo) -remote_aes=$($ssh root@192.168.200.241 "/usr/bin/grep -m1 -o aes /proc/cpuinfo") +remote_aes=$($ssh $source "/usr/bin/grep -m1 -o aes /proc/cpuinfo") if [[ $local_aes == "aes" ]] && [[ $remote_aes == "aes" ]]; then