From 9043bb193b39d1f549b7b23a5d96d43882344077 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 7 Jul 2022 16:18:22 -0500 Subject: Fancify radio_status --- radio | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radio b/radio index 3c1fdda..8209ac7 100755 --- a/radio +++ b/radio @@ -76,12 +76,13 @@ main() { } _radio_status() { + trap 'echo;exit 0' INT if [ "x$1" = x-f ]; then follow=-f else follow= fi - tail -n4 $follow "$RADIO_STATUS_FILE" + tail $follow "$RADIO_STATUS_FILE" echo exit } -- cgit 1.4.1-21-gabe81