From fc857f2b13f373211a1fd8e085f92c7bd4fc5961 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Wed, 30 Jun 2021 10:53:00 -0400 Subject: [PATCH] cat right file --- log | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/log b/log index 87d5d773..9518703d 100755 --- a/log +++ b/log @@ -4,10 +4,10 @@ echo -e "\nLog file script for CubeSatSim\n" if [ "$1" = "-r" ]; then sudo journalctl -a -u rpitx > /home/pi/CubeSatSim/logr.txt - cat logr.txt + cat /home/pi/CubeSatSim/logr.txt echo -e "\nLog file also saved as /home/pi/CubeSatSim/logr.txt" else sudo journalctl -a -u cubesatsim > /home/pi/CubeSatSim/log.txt - cat log.txt + cat /home/pi/CubeSatSim/log.txt echo -e "\nLog file also saved as /home/pi/CubeSatSim/log.txt" fi