diff options
Diffstat (limited to 'scripts/zpool-create.sh')
-rwxr-xr-x | scripts/zpool-create.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/zpool-create.sh b/scripts/zpool-create.sh index 3a33952d1..e46b02cdd 100755 --- a/scripts/zpool-create.sh +++ b/scripts/zpool-create.sh @@ -1,7 +1,7 @@ #!/bin/bash . ./common.sh -PROG=create-zpool.sh +PROG=zpool-create.sh usage() { cat << EOF @@ -50,7 +50,7 @@ while getopts 'hvc:p:' OPTION; do VERBOSE=1 ;; c) - ZPOOL_CONFIG=${TOPDIR}/scripts/zpool-config/${OPTARG} + ZPOOL_CONFIG=${TOPDIR}/scripts/zpool-config/${OPTARG}.cfg ;; p) ZPOOL_NAME=${OPTARG} @@ -73,6 +73,6 @@ if [ ${VERBOSE} ]; then echo echo "zpool status ${ZPOOL_NAME}" ${CMDDIR}/zpool/zpool status ${ZPOOL_NAME} || exit 1 -} +fi exit 0 |