Closed RipperFox closed 5 years ago
Line 67 fails if the variable never has been set (empty string ""):
if [ $FORBIDSWITCH -eq 1 ]; then
fix could be comparing strings:
if [ "$FORBIDSWITCH" = "1" ]; then
Thank you. Script updated.
Line 67 fails if the variable never has been set (empty string ""):
if [ $FORBIDSWITCH -eq 1 ]; then
fix could be comparing strings:
if [ "$FORBIDSWITCH" = "1" ]; then