From 0a27c6b8e4dfddc9db01c6679e397322ab5dae89 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 20 Sep 2020 12:32:18 +0100 Subject: [PATCH] will no longer display url details is not post-details command --- lgsm/functions/command_postdetails.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lgsm/functions/command_postdetails.sh b/lgsm/functions/command_postdetails.sh index 683a28ed4..9e2f0e1b1 100755 --- a/lgsm/functions/command_postdetails.sh +++ b/lgsm/functions/command_postdetails.sh @@ -115,9 +115,11 @@ elif [ "${posttarget}" == "https://termbin.com" ] ; then fn_script_log_pass "termbin.com for 30D" pdurl="${link}" fi -echo -e "" -echo -e "Please share the following url for support: " -echo -e "${pdurl}" +if [ ${firstcommandname} == "POST-DETAILS" ]; then + echo -e "" + echo -e "Please share the following url for support: " + echo -e "${pdurl}" +fi fn_script_log_info "${pdurl}" if [ -z "${exitbypass}" ]; then