From 5c0b01a0ca880086f22320b4cabaa33803affcd2 Mon Sep 17 00:00:00 2001 From: Recolic <git@me.recolic.net> Date: Thu, 3 Apr 2025 16:33:33 -0700 Subject: [PATCH] .add init confirm --- linuxconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxconf b/linuxconf index 141bd71..8bc24ac 100755 --- a/linuxconf +++ b/linuxconf @@ -251,7 +251,7 @@ if [[ "$subcommand" != register ]] && [[ "$subcommand" != "" ]]; then [[ ! -f /etc/linuxconf.conf ]] && lcf_die "Please run '$0 register <path/to/masterconf.sh>' at least once" fi if [[ "$subcommand" = register ]]; then - lcf_echo2 "Confirm linuxconf init at $(pwd) ? Make sure all (desired) user have read access!" + lcf_echo2 "Confirm linuxconf init at $(dirname "$(realpath "$2")") ? Make sure all (desired) user have read access!" read -p "Confirm ? " || exit 0 lci_register "$2" lci_install_startup_hook || lcf_die "failed to install on_startup hook" -- GitLab