Minor fix

This commit is contained in:
Skylar Grant 2024-06-25 18:25:17 -04:00
parent f7df142ef6
commit e5e7ed6823

View File

@ -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"