mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-07 03:40:16 +00:00
Patch awaiting response when checking if supervisor0 network exists
Change-type: patch Signed-off-by: Miguel Casqueira <miguel@balena.io>
This commit is contained in:
parent
662b27c26d
commit
8b0c2347d8
@ -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…
x
Reference in New Issue
Block a user