Skip to content

Commit

Permalink
Apparently Windows produces 3 lines?
Browse files Browse the repository at this point in the history
  • Loading branch information
lvh committed Dec 10, 2024
1 parent 22987fb commit 1f9af76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/latacora/autobrowse.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
" | Select-Object -Property LocalAddress, LocalPort"))
;; Alternatively we could | ConvertTo-JSON here
(stdout-lines)
(drop 2) ;; Skip property names, horizontal line
(drop 3) ;; Skip property names, spacer, horizontal line
(map (fn [line] (str/split line #"\s+" 2)))))

(defn ^:private get-lsof-listening-sockets!
Expand Down

0 comments on commit 1f9af76

Please sign in to comment.