Cleaned up agent comment.

This commit is contained in:
John Morris 2026-05-25 02:56:08 +00:00 committed by vybe
parent 3986ee3490
commit 00a40a9aa2

View file

@ -49,7 +49,7 @@ PluginComponent {
const cmd = TailscaleLib.commandForPendingAction(root._pendingAction, root.isConnected); const cmd = TailscaleLib.commandForPendingAction(root._pendingAction, root.isConnected);
if (cmd) { 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) => { Proc.runCommand("tailscale-toggle", cmd, (out, c) => {
if (c !== 0) { if (c !== 0) {
const action = root.isConnected ? "disconnect" : "connect"; const action = root.isConnected ? "disconnect" : "connect";