diff --git a/lgsm/functions/command_postdetails.sh b/lgsm/functions/command_postdetails.sh index fe9447f7d..13b464bba 100644 --- a/lgsm/functions/command_postdetails.sh +++ b/lgsm/functions/command_postdetails.sh @@ -117,7 +117,7 @@ fi # cleanup rm "${postdetailsfile}" || /bin/true -if [ -n "${alert}" ]; then +if [ -z "${alert}" ]; then core_exit.sh else alerturl="${pdurl}"