fire1ce / DDNS-Cloudflare-Bash

Cloudflare DDNS bash Script for most Linux distributions and MacOS. Choose any source IP address to update external or internal (WAN/LAN). Cloudflare's options proxy and TTL configurable via the parameters.
https://3os.org
261 stars 61 forks source link

Script doesn't exit #12

Closed timdonovanuk closed 1 year ago

timdonovanuk commented 1 year ago

Love the script, thank you! My only question is when you run it, it doesn't actually seem to exit? It just hangs. Not sure how that impacts when running under crontab (bunch of zombie processes?)

Cheers!

timdonovanuk commented 1 year ago

Oh my mistake, it does exit...it just doesn't look like it.....weird image

fire1ce commented 1 year ago

@timdonovanuk could you close the issue?

timdonovanuk commented 1 year ago

Sure but the script doesn't cleanly return to bash as shown in my screenshot. I had a quick look why but it wasn't immediately obvious to me. Any other scripts I run cleanly return to a bash prompt.

fire1ce commented 1 year ago

add exit 0 to the end of the script. Rerun it and tell me if it solved the problem.

timdonovanuk commented 1 year ago

Nope that didn't work. But no worries, just a weird quirk, the script still runs 100% fine, thanks :)