]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Change the indenting to be consistent
authorAndrew Ruthven <andrew@etc.gen.nz>
Fri, 11 Jan 2019 10:56:50 +0000 (23:56 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Fri, 11 Jan 2019 10:56:50 +0000 (23:56 +1300)
bin/mythtv-update-motd

index a56adc0a7eba5ef743d9025809ea9d87cbc1c913..8acf2ee433afcedfe18b34f14fa34446ca08f065 100755 (executable)
@@ -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: