mirror of
https://github.com/UnnoTed/wireguird
synced 2025-02-05 09:25:29 +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)
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// update header label with tunnel names
|
||||
glib.IdleAdd(func() {
|
||||
activeNames := t.ActiveDeviceName()
|
||||
|
Loading…
Reference in New Issue
Block a user