Merge commit 'refs/top-bases/linux-have-spl-debug' into linux-have-spl-debug

This commit is contained in:
Brian Behlendorf 2009-01-16 14:55:01 -08:00
commit 7088e53f64
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@ while getopts 'hvc:p:' OPTION; do
esac esac
done done
if [ $(id -u) != 0 ]; then
die "Must run as root"
fi
check_config || die "${ERROR}" check_config || die "${ERROR}"
. ${ZPOOL_CONFIG} . ${ZPOOL_CONFIG}