wtwitch icon indicating copy to clipboard operation
wtwitch copied to clipboard

[BUG] wtwitch v causes infinite loop when there is no internet connection

Open jfsen opened this issue 1 year ago • 0 comments

Describe the bug The while loop in line 1787 iterates infinitely, if the vodData variable is empty:

/usr/bin/wtwitch: line 1858: vodData[1]: unbound variable
/usr/bin/wtwitch: line 1865: vodData[2]: unbound variable

To Reproduce Execute wtwitch v {stream} on a known stream in the follow list while offline.

Expected behavior The script should exit with an error message.

Logs/system info (please complete the following information):

  • EndeavourOS with current wtwitch (installed through AUR)

jfsen avatar Oct 02 '24 02:10 jfsen