aboutsummaryrefslogtreecommitdiff
path: root/public/nixos/install.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-01 17:42:37 -0300
committerEuAndreh <eu@euandre.org>2019-06-01 17:43:02 -0300
commitd276c17a5c9117694217cbb8ac9c0d96ab870394 (patch)
treef5cd75658baa9600492780a0a353d155235dae15 /public/nixos/install.sh
parentExpose burn-nixos.sh file publicly (diff)
downloaddotfiles-d276c17a5c9117694217cbb8ac9c0d96ab870394.tar.gz
dotfiles-d276c17a5c9117694217cbb8ac9c0d96ab870394.tar.xz
Run read with -r flag (linter offense)
Taken from: https://github.com/koalaman/shellcheck/wiki/SC2162
Diffstat (limited to 'public/nixos/install.sh')
-rwxr-xr-xpublic/nixos/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/nixos/install.sh b/public/nixos/install.sh
index 5e160da..e690f01 100755
--- a/public/nixos/install.sh
+++ b/public/nixos/install.sh
@@ -123,9 +123,9 @@ green "Done."
yellow "Generating password-hash.txt file for user login..."
while true; do
- read -s -p "Password: " password
+ read -r -s -p "Password: " password
echo
- read -s -p "Password (again): " password_confirmation
+ read -r -s -p "Password (again): " password_confirmation
echo
[ "$password" = "$password_confirmation" ] && break
red "Please try again"