From 52e1c8e70978ec3808be57edacf93d4b402bf2df Mon Sep 17 00:00:00 2001 From: "Walter.Kolczynski" Date: Thu, 25 Aug 2022 04:26:24 +0000 Subject: [PATCH] Fix preamble id I was too clever by half when writing the preamble and used a check for an argument that doesn't actually work. Using the more typical method works correctly. --- ush/preamble.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ush/preamble.sh b/ush/preamble.sh index bfa326f103..3effebb41f 100644 --- a/ush/preamble.sh +++ b/ush/preamble.sh @@ -19,7 +19,7 @@ # ####### set +x -if [[ -v '1' ]]; then +if (( $# > 0 )); then id="(${1})" else id=""