Skip to content

Commit

Permalink
respect $LVCREATE_PREFIX (for mysqllock)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazuho Oku committed Dec 3, 2009
1 parent fb985be commit b8147bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh_lvm_dump
Expand Up @@ -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

Expand Down

0 comments on commit b8147bc

Please sign in to comment.