diff --git a/AmRRON-PAT-GUI.sh b/AmRRON-PAT-GUI.sh index e638bd5..a27794b 100755 --- a/AmRRON-PAT-GUI.sh +++ b/AmRRON-PAT-GUI.sh @@ -414,12 +414,10 @@ CURRENT=$(cat /tmp/currentaliases | yad --image=$DIR/images/corps-icon.png --cen rc=$? +if [[ $rc -eq 0 ]]; then sed -i 's/TRUE,//g' /tmp/removealiases awk -F ":" '{print $1}' /tmp/removealiases > /tmp/removealiases2 -if [[ $rc -eq 0 ]]; then - -sed -i while read file; do jq 'del(.connect_aliases.'$file')' $PATCONFIG > $TMPFILE