diff --git a/support/bin/rtcds.in b/support/bin/rtcds.in index 43f1ebfdbc9cea5083500b836d88c9b6af479a40..2337eb415f14098cb419748edd417cae5797488e 100755 --- a/support/bin/rtcds.in +++ b/support/bin/rtcds.in @@ -594,7 +594,7 @@ case $cmd in fi ;; 'log') - args= + args= if [[ $FOLLOW_FLAG ]] ; then args="-f" fi @@ -602,9 +602,9 @@ case $cmd in log "You must specify one system to show log." exit 2 fi - sys=$1 - sudo journalctl $args --unit=rts*${sys}* - ;; + sys=$1 + sudo journalctl $args --unit=rts*${sys}* + ;; 'blog') format=full if [[ $INFO_FLAG ]] ; then