Remove unnecessary err check

Just before this err check is another err check that always returns.
This commit is contained in:
Nikolay Lazarov 2024-10-30 23:54:19 +02:00
parent e4e2c3c7b5
commit 4d429b4b7a

View File

@ -302,10 +302,6 @@ func (t *Tunnels) Create() error {
return errors.New(oerr) return errors.New(oerr)
} }
if err != nil {
return err
}
// update header label with tunnel names // update header label with tunnel names
glib.IdleAdd(func() { glib.IdleAdd(func() {
activeNames := t.ActiveDeviceName() activeNames := t.ActiveDeviceName()