Use unescaped variable in if condition

The $bridgeif variable may have been escaped using escapeshellarg() resulting in a string that is never equal to false.