From 7a52326211499e83c6a8bf089ed0d349b10e96d2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 11 Jan 2013 10:43:59 -0200 Subject: Minor fix at sync-backups --- files/sync-backups | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/files/sync-backups b/files/sync-backups index fc726b3..e1bd5d1 100644 --- a/files/sync-backups +++ b/files/sync-backups @@ -59,6 +59,10 @@ else fi # Sync backups for each node. -for NODE in $*; do +if [ ! -z "$*" ]; then + for NODE in $*; do + sync_backups_node + done +else sync_backups_node -done +fi -- cgit v1.2.3