=== modified file 'bin/snap.push.single' --- bin/snap.push.single 2014-02-26 23:38:29 +0000 +++ bin/snap.push.single 2014-02-26 23:31:43 +0000 @@ -68,7 +68,7 @@ test -d "$SNAP_DST" || die "destination not a directory: ${SNAP_DST}" snapshot=$(snap.list "$SNAP_DST/" | tail -1) if test -n "$snapshot"; then - link=${SNAP_DST}/${snapshot} + link=${SNAP_DST}/${snapshots} rs "$@" "--link-dest=$link/" "$SNAP_SRC/" "$SNAP_DST/$ts/" || exit $? else rs "$@" "$SNAP_SRC/" "$SNAP_DST/$ts/" || exit $?