mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-22 15:02:23 +00:00
Merge pull request #1701 from balena-os/patch-supervisor-network-check
Patch awaiting response when checking if supervisor0 network exists
This commit is contained in:
commit
34a702e4bb
@ -70,7 +70,7 @@ export async function remove(network: Network) {
|
||||
}
|
||||
|
||||
export async function supervisorNetworkReady(): Promise<boolean> {
|
||||
const networkExists = exists(
|
||||
const networkExists = await exists(
|
||||
`/sys/class/net/${constants.supervisorNetworkInterface}`,
|
||||
);
|
||||
if (!networkExists) {
|
||||
|
Loading…
Reference in New Issue
Block a user