amnezia-vpn/amnezia-client

Invalid error handling of non-existent container

useribs opened this issue · 3 comments

https://github.com/amnezia-vpn/amnezia-client/blob/08c506a48933e46eaeb105a2b3ae52237c547cd5/client/core/servercontroller.cpp#L166C28-L166C28

it expects "Error: No such container:"

I am not familiar with C, but this error message handling seems wrong, on my system i get the following error when trying to deal with non-existent container:

Error response from daemon: No such container: blad

# docker -v
Docker version 24.0.7, build afdd53b

Proposed fix: expect only No such container: without Error string.

Should be fixed #by:
#482

fix made it into dev?

yes.