bridge: Detect sudo failures properly
bridge: Detect sudo failures properly

Unfortunately sudo just exits with 1 when it fails. But we have
a pretty good idea if it's sudo or the bridge who is failing
depending on whether we started talking to the bridge with an "init"
message or not.

Reviewed-by: Peter <a316049dd34607c62d4611d63ab22a6454add223@redhat.com>

Armstrong1992/cockpit,arilivigni/cockpit,fridex/cockpit,larsu/cockpit,Scribery/cockpit,arilivigni/cockpit,zigitax/cockpit,SotolitoLabs/cockpit,firebitsbr/cockpit,larskarlitski/cockpit,michalskrivanek/cockpit,cockpit-project/cockpit,harishanand95/cockpit,matobet/cockpit,deryni/cockpit,Scribery/cockpit,SotolitoLabs/cockpit,larskarlitski/cockpit,garrett/cockpit,zigitax/cockpit,harishanand95/cockpit,denysvitali/cockpit,deryni/cockpit,andreasn/cockpit,denysvitali/cockpit,darioajr/cockpit,sgallagher/cockpit,larskarlitski/cockpit,vbatts/cockpit,fridex/cockpit,Thermionix/cockpit,darioajr/cockpit,jscotka/cockpit,stefwalter/cockpit,michalskrivanek/cockpit,denysvitali/cockpit,petervo/cockpit,Thermionix/cockpit,xhad/cockpit,firebitsbr/cockpit,xhad/cockpit,cockpituous/cockpit,deryni/cockpit,cockpit-project/cockpit,stefwalter/cockpit,dperpeet/cockpit,moolitayer/cockpit,netzvieh/cockpit,michalskrivanek/cockpit,nmav/cockpit,moraleslazaro/cockpit,Armstrong1992/cockpit,martinpitt/cockpit,andreasn/cockpit,Scribery/cockpit,SotolitoLabs/cockpit,mvollmer/cockpit,petervo/cockpit,fridex/cockpit,haiyangd/cockpit_view,stefwalter/cockpit,cockpituous/cockpit,moolitayer/cockpit,arilivigni/cockpit,evol262/cockpit,mareklibra/cockpit,sgallagher/cockpit,firebitsbr/cockpit,larskarlitski/cockpit,mareklibra/cockpit,SotolitoLabs/cockpit,mvollmer/cockpit,vbatts/cockpit,vanloswang/cockpit,mvollmer/cockpit,Thermionix/cockpit,larskarlitski/cockpit,arilivigni/cockpit,cockpituous/cockpit,Scribery/cockpit,haiyangd/cockpit_view,zigitax/cockpit,dperpeet/cockpit,fridex/cockpit,petervo/cockpit,sgallagher/cockpit,xhad/cockpit,andreasn/cockpit,darioajr/cockpit,larskarlitski/cockpit,dperpeet/cockpit,xhad/cockpit,larsu/cockpit,larsu/cockpit,maxamillion/cockpit,mareklibra/cockpit,harishanand95/cockpit,jscotka/cockpit,larskarlitski/cockpit,matobet/cockpit,netzvieh/cockpit,petervo/cockpit,maxamillion/cockpit,martinpitt/cockpit,evol262/cockpit,haiyangd/cockpit_view,cockpit-project/cockpit,larsu/cockpit,nmav/cockpit,fridex/cockpit,stefwalter/cockpit,petervo/cockpit,andreasn/cockpit,vanloswang/cockpit,vanloswang/cockpit,xhad/cockpit,jscotka/cockpit,nmav/cockpit,matobet/cockpit,michalskrivanek/cockpit,harishanand95/cockpit,andreasn/cockpit,nmav/cockpit,harishanand95/cockpit,larsu/cockpit,xhad/cockpit,martinpitt/cockpit,denysvitali/cockpit,moraleslazaro/cockpit,darioajr/cockpit,Armstrong1992/cockpit,moolitayer/cockpit,sgallagher/cockpit,nmav/cockpit,stefwalter/cockpit,evol262/cockpit,mvollmer/cockpit,arilivigni/cockpit,netzvieh/cockpit,dperpeet/cockpit,firebitsbr/cockpit,martinpitt/cockpit,maxamillion/cockpit,cockpit-project/cockpit,Armstrong1992/cockpit,jscotka/cockpit,zigitax/cockpit,andreasn/cockpit,jscotka/cockpit,vanloswang/cockpit,harishanand95/cockpit,cockpituous/cockpit,haiyangd/cockpit_view,vbatts/cockpit,FireDrunk/cockpit,sgallagher/cockpit,stefwalter/cockpit,evol262/cockpit,michalskrivanek/cockpit,deryni/cockpit,Thermionix/cockpit,deryni/cockpit,dperpeet/cockpit,moolitayer/cockpit,mvollmer/cockpit,firebitsbr/cockpit,Thermionix/cockpit,mareklibra/cockpit,moraleslazaro/cockpit,matobet/cockpit,netzvieh/cockpit,fridex/cockpit,sgallagher/cockpit,denysvitali/cockpit,deryni/cockpit,michalskrivanek/cockpit,cockpituous/cockpit,Scribery/cockpit,dperpeet/cockpit,Armstrong1992/cockpit,cockpit-project/cockpit,Scribery/cockpit,evol262/cockpit,moraleslazaro/cockpit,FireDrunk/cockpit,arilivigni/cockpit,xhad/cockpit,netzvieh/cockpit,stefwalter/cockpit,sgallagher/cockpit,evol262/cockpit,mareklibra/cockpit,arilivigni/cockpit,vbatts/cockpit,moolitayer/cockpit,SotolitoLabs/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,deryni/cockpit,harishanand95/cockpit,darioajr/cockpit,netzvieh/cockpit,vanloswang/cockpit,vbatts/cockpit,garrett/cockpit,martinpitt/cockpit,vanloswang/cockpit,larsu/cockpit,Thermionix/cockpit,vanloswang/cockpit,vbatts/cockpit,FireDrunk/cockpit,mareklibra/cockpit,moraleslazaro/cockpit,maxamillion/cockpit,SotolitoLabs/cockpit,mareklibra/cockpit,haiyangd/cockpit_view,FireDrunk/cockpit,garrett/cockpit,garrett/cockpit,Scribery/cockpit,dperpeet/cockpit,matobet/cockpit,FireDrunk/cockpit,michalskrivanek/cockpit,maxamillion/cockpit,zigitax/cockpit,moraleslazaro/cockpit,garrett/cockpit,moraleslazaro/cockpit,petervo/cockpit,andreasn/cockpit,matobet/cockpit,petervo/cockpit,jscotka/cockpit