From: Andrew Ruthven Date: Fri, 11 Jan 2019 10:56:50 +0000 (+1300) Subject: Change the indenting to be consistent X-Git-Tag: 1.0.0~16 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88b5fef6a453f1fd59cc6c88efb418926920e9d3;p=mythtv-status.git Change the indenting to be consistent --- diff --git a/bin/mythtv-update-motd b/bin/mythtv-update-motd index a56adc0..8acf2ee 100755 --- a/bin/mythtv-update-motd +++ b/bin/mythtv-update-motd @@ -71,14 +71,18 @@ fi ret=0 mythtv-status $UPDATE_MOTD_ARGS -h $HOST >> $TEMPFILE || ret=$? if [ $ret -eq 0 -o $ret -eq 1 ]; then - if [ ! -f $TEMPFILE ]; then - echo My temporary file has gone away, failed. - exit 1 - else - mv $TEMPFILE $WORKFILE - fi -else - # Something else went wrong, remove the temp file. - rm $TEMPFILE + if [ ! -f $TEMPFILE ]; then + echo My temporary file has gone away, failed. exit 1 + else + mv $TEMPFILE $WORKFILE + fi +else + # Something else went wrong, remove the temp file. + rm $TEMPFILE + exit 1 fi + +# Local Variables: +# sh-basic-offset: 2 +# End: