aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xetc/guix-install.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 152accef77..c8ef59d4a4 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -607,7 +607,8 @@ This script installs GNU Guix on your system
https://www.gnu.org/software/guix/
EOF
- echo -n "Press return to continue..."
+ # Don't use ‘read -p’ here! It won't display when run non-interactively.
+ echo -n "Press return to continue..."$'\r'
read -r char
if [ "$char" ]; then
echo