From fb2041d9bb3ba8e9ca1f4cfee95f1fdf913b1e85 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Tue, 9 Dec 2025 21:41:08 +0100 Subject: [PATCH] Improve command logging in run_cmd function --- openvpn-install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index d1b99c0..711f6ec 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -122,9 +122,8 @@ log_menu() { run_cmd() { local desc="$1" shift - if [[ $VERBOSE -eq 1 ]]; then - echo -e "${COLOR_DIM}> $*${COLOR_RESET}" - fi + # Display the command being run + echo -e "${COLOR_DIM}> $*${COLOR_RESET}" _log_to_file "[CMD] $*" if [[ $VERBOSE -eq 1 ]]; then if [[ -n "$LOG_FILE" ]]; then