aboutsummaryrefslogtreecommitdiff
path: root/files/sync-backups
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-03-08 16:21:12 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-03-08 16:21:12 -0300
commitf6a55fc6a5de53c4036b74c30974c9d440c27469 (patch)
tree8aae88de0c70d5a9fa48a9ab52d4197dd0a0701f /files/sync-backups
parent3dddc69e55e7e614f5298067cf7d5f09a7343a59 (diff)
downloadpuppet-backup-f6a55fc6a5de53c4036b74c30974c9d440c27469.tar.gz
puppet-backup-f6a55fc6a5de53c4036b74c30974c9d440c27469.tar.bz2
Fixing cmd line parsing at sync-backups
Diffstat (limited to 'files/sync-backups')
-rw-r--r--files/sync-backups1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/sync-backups b/files/sync-backups
index e1bd5d1..bd62b33 100644
--- a/files/sync-backups
+++ b/files/sync-backups
@@ -54,6 +54,7 @@ function sync_backups_node {
# Parsing.
if [ -z "$VOLUME" ]; then
echo "usage: $BASENAME <media> [nodes]"
+ exit 1
else
shift
fi