mirror of
https://github.com/UnnoTed/wireguird
synced 2025-02-05 17:25:30 +00:00
Remove unnecessary err check
Just before this err check is another err check that always returns.
This commit is contained in:
parent
e4e2c3c7b5
commit
4d429b4b7a
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user