From f1239220c3c2f6051a4749699fd60189224d30d6 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Mon, 22 Jun 2020 21:23:39 +0200 Subject: [PATCH] fix repair test password --- home.admin/98repairMenu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/98repairMenu.sh b/home.admin/98repairMenu.sh index 3c02e2def..e62682675 100755 --- a/home.admin/98repairMenu.sh +++ b/home.admin/98repairMenu.sh @@ -77,7 +77,7 @@ copyHost() if [ ${#targetPassword} -eq 0 ]; then return fi - canLogin=$(sudo sshpass -p "${targetPassword}" ssh -t bitcoin@${targetIP} "echo 'working'" 2>/dev/null | grep -c 'working') + canLogin=$(sshpass -p "${targetPassword}" ssh -t bitcoin@${targetIP} "echo 'working'" 2>/dev/null | grep -c 'working') if [ ${canLogin} -eq 0 ]; then whiptail --msgbox "Password was not working for IP: ${targetIP}\n\n- check thats the correct IP for correct RaspiBlitz\n- check that you used PASSWORD A and had no typo\n- If you tried too often, wait 1h try again" 11 58 "" --title " Testing Target Password " --backtitle "RaspiBlitz - Copy Blockchain" return