From 1f142296279730566610e10fb93bd8beb636af07 Mon Sep 17 00:00:00 2001 From: Walter Kolczynski - NOAA Date: Thu, 25 Aug 2022 15:06:24 -0400 Subject: [PATCH] Fix preamble id (#996) 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=""