summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
393fb08)
Change-Id: Iab159bb8d4117cb277e83da37433a375fcb9c7a4
# Export the local pool if told to do so
if [[ $import_export_backup_pool == 1 ]]; then
# Don't export the pool if there is a currently running zfs-scrub operation
# Export the local pool if told to do so
if [[ $import_export_backup_pool == 1 ]]; then
# Don't export the pool if there is a currently running zfs-scrub operation
- ps -ef | grep -q "zfs-scrub ${backup_pool}" | grep -v grep
+ ps -ef | grep "zfs-scrub" | grep -q "${backup_pool}" | grep -v grep
if [ $? != 0 ]; then
zpool export $backup_pool
if [ $? != 0 ]; then
if [ $? != 0 ]; then
zpool export $backup_pool
if [ $? != 0 ]; then