chiark
/
gitweb
/
~mdw
/
rsync-backup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release 1.1.2.
[rsync-backup]
/
check-bkp-status.in
diff --git
a/check-bkp-status.in
b/check-bkp-status.in
index d45c06b94da342b4c0f2ef1fdd072aae8eb2f6d6..75ddf600523b0f8b15a26edada7bba2a1e56a388 100644
(file)
--- a/
check-bkp-status.in
+++ b/
check-bkp-status.in
@@
-407,7
+407,7
@@
backup () {
case $host:$fs in $p) matchp=t; break ;; esac
done
case $matchp in nil) return ;; esac
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
"")
"SELECT MAX(date) FROM idx WHERE host = '$host' AND fs = '$fs';")
case $when in
"")