diff options
author | наб <[email protected]> | 2021-06-14 17:48:53 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-14 09:48:53 -0600 |
commit | 83ba91adf6c0b4b1a5b0f0a6f3e84d267e689915 (patch) | |
tree | 654fbe963ed7cb91f253ad2f7db94666607116ac /man | |
parent | 069bf406b4619597df1519171edf5fc1736218ee (diff) |
systemd: import: expand $ZPOOL_IMPORT_OPTS correctly
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 eec5ba113e1d285d445333079a3e8184872ad00a "dracut: 90zfs: respect
zfs_force=1 on systemd systems"
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes: #12231
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions