From 100b64384e189e5be7e8e63e4927ca3d55e6076c Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 1 Mar 2019 16:31:45 +0800 Subject: [PATCH] Update index.py --- plugins/l2tp/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/l2tp/index.py b/plugins/l2tp/index.py index fef28851e..34a2cd76c 100755 --- a/plugins/l2tp/index.py +++ b/plugins/l2tp/index.py @@ -133,7 +133,7 @@ def delUser(): if not data[0]: return data[1] - ret = public.execShell('echo ' + args['username'] + '|l2tp -l') + ret = public.execShell('echo ' + args['username'] + '|l2tp -d') if ret[1] == '': return public.returnJson(True, '删除成功!:' + ret[0]) return public.returnJson(False, '删除失败:' + ret[0])