diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/storage.c | 2 |
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 | " |