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
Fix bad/impossible conditions on if statements that were causing
incorrect DE detection
There are two instances of the condition:
if [ -n "$DE" ]; then
I think if statements with this condition were ALWAYS running, because
at the beginning of detectde () $DE gets initialized to "Not Present".
if [[ -z "$DE" || "$DE" = "Not Present" ]]; then
There was one instance of this, which I believe is supposed to have a
"==" vs "=". The first part of the condition is also NEVER false, since
$DE gets initialized to "Not Present", as mentioned before, so I just
removed it.
FixesKittyKatt#782 (and possibly others)
0 commit comments