chore(style): convert blocks into functions (see #325)
[webi-installers/.git] / ssh-utils / ssh-setpass.sh
index 4d399cd98fec5ab5573ac8b9789133bed4f7c201..a68cf5765b5a8669d1e8769e8c99d0bf80171651 100644 (file)
@@ -1,8 +1,10 @@
 #!/bin/bash
 
-{
+function __init_ssh_setpass() {
     set -e
     set -u
 
     ssh-keygen -p -f "$HOME/.ssh/id_rsa"
 }
+
+__init_ssh_setpass