projects
/
outofuni
/
backup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e48a4ae
)
fixed check
author
hackbard
<hackbard@hackdaworld.org>
Sun, 11 Oct 2015 16:11:07 +0000
(16:11 +0000)
committer
hackbard
<hackbard@hackdaworld.org>
Sun, 11 Oct 2015 16:11:07 +0000
(16:11 +0000)
bin/backup
patch
|
blob
|
history
diff --git
a/bin/backup
b/bin/backup
index
4489388
..
cd96256
100755
(executable)
--- a/
bin/backup
+++ b/
bin/backup
@@
-55,7
+55,7
@@
else
log "host $host (via $remote) is online ..."
fi
-if [ ! -z "`ssh $user@$remote 'cat ~/.backup | grep ^
no
'`" ]; then
+if [ ! -z "`ssh $user@$remote 'cat ~/.backup | grep ^
off
'`" ]; then
log "backup rejected by client ..."
exit 0
fi