The script does not show any errors, it keeps running, and looking at the Linux process I can see that fastboot uses 3 to 4% of CPU and is still active.
But the description on the page linked above tells me
the process will be over in a couple of minutes
so I ask myself after one hour of waiting: How many more minutes to go?
In that case I don’t think it has touched the device yet. It should be safe to stop the script.
It may work better running as root - try fastboot devices without root to see if that throws an error. I think the error handling in the script hasn’t been properly designed to detect permissions errors.