summaryrefslogtreecommitdiff
path: root/src/readahead-collect.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-28 04:03:22 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-28 20:53:08 +0200
commit55888fa400965fe6e458e78a844da8c85735311b (patch)
treeada07f1f446aaa1518ce213ba9cd47f54c3174ca /src/readahead-collect.c
parent409db0029927f29775c8396acc98cafe14412a53 (diff)
readahead: fix SSD check
Diffstat (limited to 'src/readahead-collect.c')
-rw-r--r--src/readahead-collect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readahead-collect.c b/src/readahead-collect.c
index c8b2cdcc52..0838dd3929 100644
--- a/src/readahead-collect.c
+++ b/src/readahead-collect.c
@@ -422,7 +422,7 @@ done:
log_debug("Writing Pack File...");
- on_ssd = fs_on_ssd(root) == 0;
+ on_ssd = fs_on_ssd(root) > 0;
log_debug("On SSD: %s", yes_no(on_ssd));
on_btrfs = statfs(root, &sfs) >= 0 && sfs.f_type == BTRFS_SUPER_MAGIC;