Compare commits

..

2 commits

View file

@ -21,7 +21,7 @@ function initConfig -V dir -d "Fetches the configuration by prompting the user t
if [ "$_flag_action" != restore ] || $confirm "Do you wish to restore a backup?" if [ "$_flag_action" != restore ] || $confirm "Do you wish to restore a backup?"
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 ~/.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: "))
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): "))
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: "))