Skip to content

Commit

Permalink
test to see if we can strip the extension from the base name in logging
Browse files Browse the repository at this point in the history
  • Loading branch information
fredclausen committed Dec 18, 2023
1 parent 1017a9c commit 9286d5a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rootfs/etc/s6-overlay/scripts/dumphfdl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ fname=()
# shellcheck disable=SC1091
source /scripts/common

SCRIPT_NAME="$(basename "$0")"
SCRIPT_NAME="${SCRIPT_NAME%.*}"

# shellcheck disable=SC2034
s6wrap=(s6wrap --quiet --timestamps --prepend="$SCRIPT_NAME" --args)

if [[ -f /opt/scanner/scanner_freqs.sh ]]; then
# shellcheck disable=SC1091
source /opt/scanner/scanner_freqs.sh
Expand Down

0 comments on commit 9286d5a

Please sign in to comment.