Changeset 344 for tools/snapshot-sync.sh


Ignore:
Timestamp:
Sep 8, 2011, 5:52:28 PM (13 years ago)
Author:
Rick van der Zwet
Message:

Avoid potential directory disaster.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/snapshot-sync.sh

    r343 r344  
    3131  TARGET=$SNAPSHOTROOT/$DIR
    3232  SOURCE=/usr/backup/$HOSTID/$DIR
    33   mkdir -p $TARGET
     33  mkdir -p $TARGET || exit 1
    3434
    3535  # now the actual transfer
Note: See TracChangeset for help on using the changeset viewer.