summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author諏訪子 <suwako@076.moe>2024-06-21 22:36:53 +0900
committer諏訪子 <suwako@076.moe>2024-06-21 22:36:53 +0900
commit544d5f0f140c4d408fa435715fe45e3bbfaf4000 (patch)
treec797348e6dfa7a78dd1c1ef9545d9bca55f1eaf9 /src
parent986d0d6002f90a8737f5037b7423e1ac8fba98f2 (diff)
.
Diffstat (limited to 'src')
-rw-r--r--src/storage.c2
1 files changed, 1 insertions, 1 deletions
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 | "