diff options
Diffstat (limited to 'contrib/clear-memcached.pl')
-rwxr-xr-x | contrib/clear-memcached.pl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/clear-memcached.pl b/contrib/clear-memcached.pl index 58157770a..718fc0e98 100755 --- a/contrib/clear-memcached.pl +++ b/contrib/clear-memcached.pl @@ -17,8 +17,9 @@ use Bugzilla::Constants; Bugzilla->usage_mode(USAGE_MODE_CMDLINE); if (Bugzilla->memcached->{memcached}) { - Bugzilla->memcached->clear_all(); - print "memcached cleared\n"; -} else { - print "memcached is not enabled\n"; + Bugzilla->memcached->clear_all(); + print "memcached cleared\n"; +} +else { + print "memcached is not enabled\n"; } |