]> granicus.if.org Git - ejabberd/commitdiff
ejabberdctl: Fix 'read' syntax for non-bash shells
authorHolger Weiss <holger@zedat.fu-berlin.de>
Tue, 7 Nov 2017 20:23:48 +0000 (21:23 +0100)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Tue, 7 Nov 2017 20:23:48 +0000 (21:23 +0100)
ejabberdctl.template

index 20874325d46b1382197421cd6389e2eb874341b3..8363776623927ac93972c6686db2f59255c83664 100755 (executable)
@@ -145,7 +145,7 @@ debugwarning()
         echo "To bypass permanently this warning, add to ejabberdctl.cfg the line:"
         echo "  EJABBERD_BYPASS_WARNINGS=true"
         echo "Press return to continue"
-        read -r
+        read -r input
         echo ""
     fi
 }
@@ -168,7 +168,7 @@ livewarning()
         echo "To bypass permanently this warning, add to ejabberdctl.cfg the line:"
         echo "  EJABBERD_BYPASS_WARNINGS=true"
         echo "Press return to continue"
-        read -r
+        read -r input
         echo ""
     fi
 }