zfsonlinux/zfs — pull request #2001 by dweeezil (2013-12-23 20:08:17+00:00)
Title: Fix the creation of ZPOOL_HIST_CMD pool history entries.

Move the libzfs_fini() after the zpool_log_history() call
so the ZPOOL_HIST_CMD entry can get written.

Fixes #1998.