fix(core): update

This commit is contained in:
2022-02-17 00:18:23 +01:00
parent 695d047200
commit 95c3314400
9 changed files with 17 additions and 31 deletions

View File

@ -17,7 +17,7 @@ export class SmartNetwork {
}
public async ping(hostArg: string, timeoutArg: number = 500): Promise<boolean> {
if (process.getuid() !== 0 ) {
if (process.getuid() !== 0) {
console.log('icmp not allowed for nonroot!');
return;
}