mirror of
https://github.com/tale/headplane.git
synced 2026-08-31 17:28:14 +00:00
fix: improve headscale proc detection
Check if command line also includes 'serve'. Move command line processing logic into a helper function.
This commit is contained in:
committed by
Aarnav Tale
parent
b1da29b2fb
commit
5e60ac1208
@@ -0,0 +1,3 @@
|
||||
export function isHeadscaleServeCmd(cmdline: string): boolean {
|
||||
return cmdline.includes('headscale') && cmdline.includes("serve");
|
||||
}
|
||||
Reference in New Issue
Block a user