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 }