summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xradio3
1 files changed, 2 insertions, 1 deletions
diff --git a/radio b/radio index 3c1fdda..8209ac7 100755 --- a/radio +++ b/radio
@@ -76,12 +76,13 @@ main() {
76} 76}
77 77
78_radio_status() { 78_radio_status() {
79 trap 'echo;exit 0' INT
79 if [ "x$1" = x-f ]; then 80 if [ "x$1" = x-f ]; then
80 follow=-f 81 follow=-f
81 else 82 else
82 follow= 83 follow=
83 fi 84 fi
84 tail -n4 $follow "$RADIO_STATUS_FILE" 85 tail $follow "$RADIO_STATUS_FILE"
85 echo 86 echo
86 exit 87 exit
87} 88}