Skip to content
Browse files

respect $LVCREATE_PREFIX (for mysqllock)

  • Loading branch information...
1 parent fb985be commit b8147bc0fa50a1c15501b34c79232936b8bc37b9 Kazuho Oku committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 ssh_lvm_dump
View
2 ssh_lvm_dump
@@ -35,7 +35,7 @@ EXIT_CODE=0
# create snapshot
if [ "$EXIT_CODE" -eq 0 ] ; then
echo "creating snapshot..." >&2
- ssh $SSH_ARGS "lvcreate --snapshot -L \"$SNAPSHOT_SIZE\" -n \"$SS_NAME\" \"$LV_PATH\"" >&2
+ $LVCREATE_PREFIX ssh $SSH_ARGS "lvcreate --snapshot -L \"$SNAPSHOT_SIZE\" -n \"$SS_NAME\" \"$LV_PATH\"" >&2
EXIT_CODE=$?
fi

0 comments on commit b8147bc

Please sign in to comment.
Something went wrong with that request. Please try again.