You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If torrific-lynx script is run without --disable-socat flag, and sudo permissions are denied, the trap handler may trigger. When exiting on some systems this may cause a loop where sudo permissions are requested until a passphrase is entered.
To Reproduce
Steps to reproduce the behavior:
Run torrific-lynx without --disable-socat flag
Press Ctrl^c when prompted for passphrase
Continue pressing Ctrl^c when prompted for passphrase
Expected behavior
Script should terminate after pressing Ctrl^c
Desktop (please complete the following information):
OS: Manjaro Linux
Version: 21.0.7
Additional context
Instead of --disable-socat flag it may be better to use an enable prefix for opting-in to DNS over Tor features.
This bug may be caused by scripted logic operators, check shellcheck reports [SC2015]
Note that A && B || C is not if-then-else. C may run when A is true. [SC2015]
Describe the bug
If
torrific-lynx
script is run without--disable-socat
flag, andsudo
permissions are denied, thetrap
handler may trigger. When exiting on some systems this may cause a loop wheresudo
permissions are requested until a passphrase is entered.To Reproduce
Steps to reproduce the behavior:
Run
torrific-lynx
without--disable-socat
flagPress Ctrl^c when prompted for passphrase
Continue pressing Ctrl^c when prompted for passphrase
Expected behavior
Script should terminate after pressing Ctrl^c
Desktop (please complete the following information):
OS: Manjaro Linux
Version: 21.0.7
Additional context
Instead of
--disable-socat
flag it may be better to use an enable prefix for opting-in to DNS over Tor features.This bug may be caused by scripted logic operators, check
shellcheck
reports[SC2015]
Example (generate SC2015)
Example (fix SC2015)
The text was updated successfully, but these errors were encountered: