diff --git a/src/afsd/afsd.c b/src/afsd/afsd.c index 0bed7e2963..5fe8b04ea8 100644 --- a/src/afsd/afsd.c +++ b/src/afsd/afsd.c @@ -1735,7 +1735,7 @@ mainproc(struct cmd_syndesc *as, void *arock) } } - if (cmd_OptionAsInt(as, OPT_dcache, &dCacheSize)) + if (cmd_OptionAsInt(as, OPT_dcache, &dCacheSize) == 0) sawDCacheSize = 1; cmd_OptionAsInt(as, OPT_volumes, &vCacheSize);