Skip to content

Commit ccdd7c3

Browse files
ericksoacv
authored andcommitted
fix: prevent one-shot bypass via repeated deadline extension
1 parent 5864d97 commit ccdd7c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/nemoclaw-start.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ while time.time() < DEADLINE:
9898
paired = data.get('paired') or []
9999
has_browser = any((d.get('clientId') == 'openclaw-control-ui') or (d.get('clientMode') == 'webchat') for d in paired if isinstance(d, dict))
100100
101-
if pending:
101+
if pending and APPROVED == 0:
102102
QUIET_POLLS = 0
103103
for device in pending:
104104
if not isinstance(device, dict):

0 commit comments

Comments
 (0)