I need to have a command return exit code 0 if a zpool is already imported. Currently 'zpool import <zpool_name>' would return exit code 1, error, if <zpool_name> is already imported. Any other way to bypass this issue? Thanks! -- This message posted from opensolaris.org
- [osol-help] how to check if a zpool is already imported and ret... Sherry Yu