From 544d5f0f140c4d408fa435715fe45e3bbfaf4000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Fri, 21 Jun 2024 22:36:53 +0900 Subject: . --- src/storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage.c b/src/storage.c index 976c810..096d5db 100644 --- a/src/storage.c +++ b/src/storage.c @@ -10,7 +10,7 @@ const char *display_storage() { iszfs, "sh: command not found: zpool", strlen("sh: command not found: zpool") - ) != 0 || + ) == 0 || strncmp(iszfs, "sh: zpool: not found", strlen("sh: zpool: not found") ) == 0) { return run_command_s("df -h | " -- cgit v1.2.3