projects
/
backups
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added 2nd try to rsync when the 1st attempt fails to cache the burn image properly.
[backups/.git]
/
scripts
/
eject-disk.sh
diff --git
a/scripts/eject-disk.sh
b/scripts/eject-disk.sh
index ca2795cc1051266c84332b2287f15bed428dfacc..811a4569bbdf0cab3ed6f84260092ba7c38543d2 100755
(executable)
--- a/
scripts/eject-disk.sh
+++ b/
scripts/eject-disk.sh
@@
-6,10
+6,7
@@
export PATH=$(dirname $0):/bin:/usr/bin:/sbin
. config.sh
# source the system specific configuration
-if [ -f /etc/lsbackups.conf ]
-then
- . /etc/lsbackups.conf
-fi
+[ -f /etc/lsbackups.conf ] && . /etc/lsbackups.conf
eject $dev