From 9589610848271187a59d3a6fffeb966f282fe6c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Sat, 22 Jun 2024 00:05:39 +0900 Subject: =?UTF-8?q?NetBSD:=20=E3=82=B9=E3=83=88=E3=83=AC=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=81=A8GPU=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/storage.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/storage.c') 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 | " -- cgit v1.2.3