Minor fix
This commit is contained in:
parent
f7df142ef6
commit
e5e7ed6823
@ -26,7 +26,7 @@ capture() {
|
|||||||
}
|
}
|
||||||
# Sync images from local to a remote mounted storage device
|
# Sync images from local to a remote mounted storage device
|
||||||
sync() {
|
sync() {
|
||||||
echo "Syncing $IMG_DIR to $SYNC_DES_PATH..."
|
echo "Syncing $IMG_DIR to $NAS_MOUNT_DIR$SYNC_DES_PATH..."
|
||||||
rsync -av --progress --remove-source-files "$IMG_DIR/" "$NAS_MOUNT_DIR$SYNC_DES_PATH/" $1
|
rsync -av --progress --remove-source-files "$IMG_DIR/" "$NAS_MOUNT_DIR$SYNC_DES_PATH/" $1
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
echo "Success"
|
echo "Success"
|
||||||
|
Loading…
Reference in New Issue
Block a user