Cleaned up agent comment.
This commit is contained in:
parent
8499a71352
commit
efb85aa478
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ PluginComponent {
|
|||
|
||||
const cmd = TailscaleLib.commandForPendingAction(root._pendingAction, root.isConnected);
|
||||
if (cmd) {
|
||||
// Exact same decision point as before: act based on fresh poll truth, then verify.
|
||||
// If toggle action on deck, then we just retrieved on-the-ground truth and can now act to toggle.
|
||||
Proc.runCommand("tailscale-toggle", cmd, (out, c) => {
|
||||
if (c !== 0) {
|
||||
const action = root.isConnected ? "disconnect" : "connect";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue