summaryrefslogtreecommitdiff
path: root/src/storage.c
diff options
context:
space:
mode:
author諏訪子 <suwako@076.moe>2024-06-22 00:05:39 +0900
committer諏訪子 <suwako@076.moe>2024-06-22 00:05:39 +0900
commit9589610848271187a59d3a6fffeb966f282fe6c6 (patch)
treeac8727f51cc322aaaedba785f13b9475e3dfcb47 /src/storage.c
parentfab26582abedc53175117287ac925bb88e3b5ff3 (diff)
NetBSD: ストレージとGPUの修正
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 | "