Skip to content

Commit 46b4d6c

Browse files
Merge branch 'master' into dev/fix-group-retry-counts
2 parents e1d88fa + 6dfa574 commit 46b4d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/monitor-types/tailscale-ping.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TailscalePing extends MonitorType {
3131
timeout: timeout,
3232
encoding: "utf8",
3333
});
34-
if (res.stderr && res.stderr.toString()) {
34+
if (res.stderr && res.stderr.toString() && res.code !== 0) {
3535
throw new Error(`Error in output: ${res.stderr.toString()}`);
3636
}
3737
if (res.stdout && res.stdout.toString()) {

0 commit comments

Comments
 (0)