From 75eeb20bca41f763f721049b0bee31e076ed85ee Mon Sep 17 00:00:00 2001 From: Yorick Downe Date: Fri, 3 Nov 2023 10:42:54 +0000 Subject: [PATCH] Less verbose on Ctrl-C --- wemd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wemd b/wemd index bbc0a6d..66d1714 100755 --- a/wemd +++ b/wemd @@ -544,6 +544,9 @@ handle_error() { echo "$__me terminated" else echo "$__me failed with error $exit_code on line $line_no" + echo + echo "Please save the logs and come to CryptoManufaktur Discord to troubleshoot this." + echo fi if [ -n "${__command}" ]; then echo "This happened during $__me ${__command} ${__params}" @@ -555,9 +558,6 @@ handle_error() { echo "Restored your ${ENV_FILE} file, to undo partial migration. Please verify it looks correct." echo "The partially migrated file is in ${ENV_FILE}.partial for troubleshooting." fi - echo - echo "If this was an unexpected failure, please save the logs and come to CryptoManufaktur Discord to troubleshoot this." - echo }