Permalink
Browse files

+x, set BLOCKSIZE only when not specified

  • Loading branch information...
1 parent 58db9aa commit 9a776281fa280e4b0134191f2e543a82985c00a2 @kazuho committed Nov 17, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 ssh_lvm_dump
View
4 ssh_lvm_dump 100644 → 100755
@@ -1,7 +1,9 @@
#! /bin/sh
-export BLOCKSIZE=1048576
SS_NAME="lvm_dump"
+if [ ! "$BLOCKSIZE" ] ; then
+ export BLOCKSIZE=1048576
+fi
# check args
if [ "$1" = "-z" ] ; then

0 comments on commit 9a77628

Please sign in to comment.