diff options
Diffstat (limited to 'files/sync-backups')
-rw-r--r-- | files/sync-backups | 8 |
1 files 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 |