fix: Handle existing datasets, fix /dev/null typo
This commit is contained in:
parent
e8cfc81f89
commit
5fa67c6ed3
|
|
@ -20,7 +20,7 @@ echo ""
|
|||
echo "📁 Creating dataset structure..."
|
||||
|
||||
# Main dataset (if not exists)
|
||||
if ! zfs list "$DATASET_NAME/$SHARE_PREFIX" >/devdev/null 2>&1; then
|
||||
if ! zfs list "$DATASET_NAME/$SHARE_PREFIX" >/dev/null 2>&1; then
|
||||
zfs create "$DATASET_NAME/$SHARE_PREFIX"
|
||||
echo "✓ Created: $DATASET_NAME/$SHARE_PREFIX"
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue