mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 07:33:48 +01:00
CLI: Add warning when installing backdoor on backdoored server (#1705)
This commit is contained in:
parent
2e6aa8989c
commit
97489629d9
@ -29,5 +29,12 @@ export function backdoor(args: (string | number | boolean)[], server: BaseServer
|
|||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (server.backdoorInstalled) {
|
||||||
|
Terminal.warn(
|
||||||
|
`You have already installed a backdoor on this server. You can check the "Backdoor" status via the "analyze" command.`,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
Terminal.startBackdoor();
|
Terminal.startBackdoor();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user