mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-10-24 08:55:00 +03:00
Turns out $ZPOOL_IMPORT_OPTS expands in a shell-like fashion,
yielding 'import' '-aN' '-o' 'cachefile=none' for an unset variable,
and 'import' '-aN' '-o' 'cachefile=none' 'word1' 'word2' for a
white-spaced one, but ${ZPOOL_IMPORT_OPTS} expands like "${Z_I_O}"
would in a shell, yielding 'import' '-aN' '-o' 'cachefile=none' ''
(empty) and 'import' '-aN' '-o' 'cachefile=none' 'word1 word2' (spaced)
Fixes
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| 50-zfs.preset.in | ||
| Makefile.am | ||
| zfs-import-cache.service.in | ||
| zfs-import-scan.service.in | ||
| zfs-import.target.in | ||
| zfs-mount.service.in | ||
| zfs-share.service.in | ||
| zfs-volume-wait.service.in | ||
| zfs-volumes.target.in | ||
| zfs-zed.service.in | ||
| zfs.target.in | ||