diff --git a/src/freedombone-app-peertube b/src/freedombone-app-peertube index 4e3cd6d6..5d481322 100755 --- a/src/freedombone-app-peertube +++ b/src/freedombone-app-peertube @@ -141,8 +141,8 @@ function peertube_disable_signups { --yesno $"\nDo you wish to disable further PeerTube signups?" 8 75 sel=$? case $sel in - 0) sed "0,/RE/s/enabled:.*/enabled: false/" $PEERTUBE_DIR/config/production.yaml;; - 1) sed "0,/RE/s/enabled:.*/enabled: true/" $PEERTUBE_DIR/config/production.yaml;; + 0) sed -i "0,/enabled:.*/s//enabled: false/" $PEERTUBE_DIR/config/production.yaml;; + 1) sed -i "0,/enabled:.*/s//enabled: true/" $PEERTUBE_DIR/config/production.yaml;; 255) return;; esac