Compare commits

..

2 commits

View file

@ -22,9 +22,9 @@ function initConfig -V dir -d "Fetches the configuration by prompting the user t
set -l keyVar VALHALLA_BACKUP_SERVER_KEY set -l keyVar VALHALLA_BACKUP_SERVER_KEY
set -l keyPath ~root/.config/port-valhalla/valhalla set -l keyPath ~root/.config/port-valhalla/valhalla
set -l server (string repeat --count 3 (printf "%s\n" "Please specify the host name of the SSH server: ")) set -l server (string repeat --count 3 (printf "%s\n" "Please specify the host name of the SSH server: " | string collect -N))
set -l port (string repeat --count 3 (printf "%s\n" "Please specify the port of the SSH server (default 22): ")) set -l port (string repeat --count 3 (printf "%s\n" "Please specify the port of the SSH server (default 22): " | string collect -N))
set -l user (string repeat --count 3 (printf "%s\n" "Please specify the name of the user to log in to the SSH server: ")) set -l user (string repeat --count 3 (printf "%s\n" "Please specify the name of the user to log in to the SSH server: " | string collect -N))
set -l ssh \ set -l ssh \