From 08953fc74cc8eb9fd26aa363fde5091ecf72389f Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Sat, 13 Jul 2024 15:19:41 +0200 Subject: [PATCH] Update --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 4d4c748..a41e8ca 100755 --- a/install.sh +++ b/install.sh @@ -13,10 +13,10 @@ fi if [ -f /usr/lib/python3.12/site-packages/webssh/handler.py ]; then echo "Alter WebSSH configuration to remove SSH key passphrase from error message..." if [[ $user != 'root' ]]; then - sudo sed -i -e "s/or wrong passphrase {} for decrypting it/or wrong passphrase for decrypting it/g" \ + sudo sed -i -e 's/or wrong passphrase "{}" for decrypting it/or wrong passphrase for decrypting it/g' \ /usr/lib/python3.12/site-packages/webssh/handler.py else - sed -i -e "s/or wrong passphrase {} for decrypting it/or wrong passphrase for decrypting it/g" \ + sed -i -e 's/or wrong passphrase "{}" for decrypting it/or wrong passphrase for decrypting it/g' \ /usr/lib/python3.12/site-packages/webssh/handler.py fi else