summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/memcached-automove-extstore2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/memcached-automove-extstore b/scripts/memcached-automove-extstore
index 4578d17..efe8c1f 100755
--- a/scripts/memcached-automove-extstore
+++ b/scripts/memcached-automove-extstore
@@ -249,7 +249,7 @@ while True:
#if args.verbose:
# show_detail(diffs, totals)
decision = (-1, -1)
- if stats['evictions'] != 0:
+ if int(stats['evictions']) > 0:
decision = determine_move(history, stats, diffs, totals)
if int(decision[0]) > 0 and decision[1] != -1:
print("moving page from, to:", decision)