diff options
author | EuAndreh <eu@euandre.org> | 2019-06-01 17:42:37 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-01 17:43:02 -0300 |
commit | d276c17a5c9117694217cbb8ac9c0d96ab870394 (patch) | |
tree | f5cd75658baa9600492780a0a353d155235dae15 /public/nixos/install.sh | |
parent | Expose burn-nixos.sh file publicly (diff) | |
download | dotfiles-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-x | public/nixos/install.sh | 4 |
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" |