summaryrefslogtreecommitdiff
path: root/src/storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage.c')
-rw-r--r--src/storage.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/storage.c b/src/storage.c
index 096d5db..b43529e 100644
--- a/src/storage.c
+++ b/src/storage.c
@@ -11,6 +11,11 @@ const char *display_storage() {
"sh: command not found: zpool",
strlen("sh: command not found: zpool")
) == 0 ||
+ strncmp(
+ iszfs,
+ "internal error: failed to initialize ZFS library",
+ strlen("internal error: failed to initialize ZFS library")
+ ) == 0 ||
strncmp(iszfs, "sh: zpool: not found", strlen("sh: zpool: not found")
) == 0) {
return run_command_s("df -h | "