mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-09-04 13:36:35 +02:00
guard against nil interface
This commit is contained in:
+1
-1
@@ -248,7 +248,7 @@ NOTE: running "ctrld start" without any arguments will start already installed c
|
||||
os.Exit(deactivationPinInvalidExitCode)
|
||||
}
|
||||
currentIface = runningIface(s)
|
||||
mainLog.Load().Debug().Msgf("current interface on start: %s", currentIface.Name)
|
||||
mainLog.Load().Debug().Msgf("current interface on start: %v", currentIface)
|
||||
}
|
||||
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
|
||||
Reference in New Issue
Block a user