diff options
author | Chris Dunlap <[email protected]> | 2014-09-11 15:41:35 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-09-23 15:32:30 -0700 |
commit | bee6665b88fca3b5e70e8b3c8f6281975721c7be (patch) | |
tree | 85581fb4178c44741bb73548166795b7b4427eae /configure.ac | |
parent | 36283ca23346061cb653dc7b6bd583d1cf772808 (diff) |
Fix zed io-spare.sh dash incompatibility
The zed's io-spare.sh script defines a vdev_status() function to query
the 'zpool status' output for obtaining the status of a specified vdev.
This function contains a small awk script that uses a parameter
expansion (${parameter/pattern/string}) supported in bash but not
in dash. Under dash, this fails with a "Bad substitution" error.
This commit replaces the awk script with a (hopefully more portable)
sed script that has been tested under both bash and dash.
Signed-off-by: Chris Dunlap <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2536
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions