summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Geissert <atomo64@gmail.com>2012-04-26 23:40:55 -0500
committerRaphael Geissert <atomo64@gmail.com>2012-04-26 23:40:55 -0500
commitf56f99e06c75697526dfbcaf2594461d6f489922 (patch)
tree54fd980c4656da893867b1efc062da642ee6c235
parent78ac9758104d9f23e3d8c346bae865902e7f36dd (diff)
Better error reporting
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 646e9d8..85bb9c7 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -491,7 +491,7 @@ while [ -e "${UPDATEREQUIRED}" ]; do
for aupfile in "${TO}/Archive-Update-in-Progress-"*; do
case "$aupfile" in
"${TO}/Archive-Update-in-Progress-*")
- :
+ error "Lock file is missing, this should not happen"
;;
"${LOCK}")
: