diff --git a/bashclub-zsync/usr/bin/bashclub-zsync b/bashclub-zsync/usr/bin/bashclub-zsync index 0cce216..bd1b6ba 100644 --- a/bashclub-zsync/usr/bin/bashclub-zsync +++ b/bashclub-zsync/usr/bin/bashclub-zsync @@ -89,8 +89,8 @@ else fi -local_aes=$(/usr/bin/grep -m1 -o aes /proc/cpuinfo) -remote_aes=$($ssh $source $sshport "/usr/bin/grep -m1 -o aes /proc/cpuinfo") +local_aes=$(/usr/bin/grep -m1 -o aes /proc/cpuinfo | uniq) +remote_aes=$($ssh $source $sshport "/usr/bin/grep -m1 -o aes /proc/cpuinfo | uniq") if [[ $local_aes == "aes" ]] && [[ $remote_aes == "aes" ]]; then