diff --git a/plugins/memcached/index.py b/plugins/memcached/index.py index 415b8ac3d..e9e908b23 100755 --- a/plugins/memcached/index.py +++ b/plugins/memcached/index.py @@ -178,9 +178,9 @@ def saveConf(): content = re.sub('MAXCONN=\d+', 'MAXCONN=' + args['maxconn'], content) content = re.sub('CACHESIZE=\d+', 'CACHESIZE=' + args['cachesize'], content) - print public.writeFile(confFile, content) + public.writeFile(confFile, content) restart() - return 'ok' + return 'save ok' except Exception as e: pass return 'fail'