chiark / gitweb /
check-bkp-status.in: Force `sqlite3' output options to be correct.
[rsync-backup] / check-bkp-status.in
index de347c60a1318a18609f3a8d8c03fbcd61babe19..75ddf600523b0f8b15a26edada7bba2a1e56a388 100644 (file)
@@ -153,6 +153,7 @@ html_header () {
 <html>
 <head>
   <title>$now rsync-backup report</title>
+  <meta name=viewport content="width=device-width initial-scale=1.0">
   <style type='text/css'><!--
        body {
          background: white;
@@ -406,7 +407,7 @@ backup () {
       case $host:$fs in $p) matchp=t; break ;; esac
     done
     case $matchp in nil) return ;; esac
-    when=$(sqlite3 $INDEXDB \
+    when=$(sqlite3 -batch -list -separator \| -noheader $INDEXDB \
       "SELECT MAX(date) FROM idx WHERE host = '$host' AND fs = '$fs';")
     case $when in
       "")