Fix header of connections list to look like that of listens
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 22 Sep 2021 20:13:24 +0000 (16:13 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 22 Sep 2021 20:13:24 +0000 (16:13 -0400)
home/lib/login_functions.sh

index a7bcf45..894ec7f 100644 (file)
@@ -667,7 +667,7 @@ status() {
 
     echo "${indent_unit}<->"
 
-    printf '%sTCP' "${indent_unit}${indent_unit}"
+    printf '%sTCP\t' "${indent_unit}${indent_unit}"
     sudo -n netstat -tnp \
     | awk 'NR > 2 && $6 == "ESTABLISHED" {print $7}' \
     | awk '{sub("^[0-9]+/", ""); print}' \
This page took 0.0279 seconds and 4 git commands to generate.