diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 7c48bac7..31bc0867 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1307,8 +1307,8 @@ GUI(){ echo -en "${idsCL[LightCyan]}View the (L)ive log, or the (P)revious run log instead? ${idsCL[Default]}" read -n1 choice case $choice in - [Ll]) watch -n1 cat ${FOLDER}/status-check.running; echo;; - [Pp]) echo; tail -n40 ${FOLDER}/status-check.lastrun;; + [Ll]) watch -n1 tail -n40 ${FOLDER}/status-check.running; echo;; + [Pp]) echo; cat ${FOLDER}/status-check.lastrun;; esac echo fi;;