revert weitere korrekturen
This commit is contained in:
2023-11-01 12:14:42 +01:00
parent e45923d544
commit b23149cf15
2 changed files with 3 additions and 3 deletions

4
wire_g
View File

@ -99,7 +99,7 @@ remove(){
if [ "$?" = "0" ]
then
nmcli connection delete "$selection" &> "${wg_wdir}.tmp.txt"
success=$(grep -i 'erfolgreich gelöscht\|successfully deleted' "${wg_wdir}.tmp.txt")
success=$(grep -i '"erfolgreich gelöscht"\|"successfully deleted"' "${wg_wdir}.tmp.txt")
if [ "$?" = "0" ]
then
yad --window-icon="${wg_pic}wg-trash.png" \
@ -172,7 +172,7 @@ export -f more
connect(){
success=$(grep -i 'erfolgreich aktiviert\|successfully activated' "${wg_wdir}.tmp.txt")
success=$(grep -i '"erfolgreich aktiviert"\|"successfully activated"' "${wg_wdir}.tmp.txt")
if [ "$?" = "0" ]
then
nmcli con mod "$selection" connection.autoconnect no