From a2c375fc92d1e9eae425febf59ede5dc53ef4b5d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 19 Nov 2016 23:15:50 +0000 Subject: [PATCH] Removing etherpad users --- src/freedombone-app-etherpad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-app-etherpad b/src/freedombone-app-etherpad index 6cac10a6..c06bfc28 100755 --- a/src/freedombone-app-etherpad +++ b/src/freedombone-app-etherpad @@ -195,7 +195,7 @@ function remove_user_etherpad { ${PROJECT_NAME}-pass -u $remove_username --rmapp etherpad if grep -q "\"$remove_username\": {" /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json; then - sed -i "/\"$remove_username\": {/,/},/d" /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json + sed -i "/\"$remove_username\": {/d" /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json systemctl restart etherpad fi }