diff --git a/check_proxy.sh b/check_proxy.sh index f9b0153..d90f278 100755 --- a/check_proxy.sh +++ b/check_proxy.sh @@ -62,7 +62,7 @@ UNPROXIED_FILE="$(mktemp)" # Remove the temporary files if they already exist # -if [ -e $UNPROXIED_FILE ]; then rm $PROXIED_FILE; fi +if [ -e $UNPROXIED_FILE ]; then rm $UNPROXIED_FILE; fi if [ -e $PROXIED_FILE ]; then rm $PROXIED_FILE; fi # Get the content directly @@ -103,7 +103,7 @@ fi -if [ -e $UNPROXIED_FILE ]; then rm $PROXIED_FILE; fi +if [ -e $UNPROXIED_FILE ]; then rm $UNPROXIED_FILE; fi if [ -e $PROXIED_FILE ]; then rm $PROXIED_FILE; fi exit $ERROR_CODE;