Skip to content

Commit

Permalink
fix contenv
Browse files Browse the repository at this point in the history
  • Loading branch information
fredclausen committed Aug 3, 2023
1 parent 0da8c50 commit 76580c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/scripts/healthcheck.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/with-contenv bash

# Import healthchecks-framework
# shellcheck disable=SC1091
Expand Down Expand Up @@ -31,7 +31,7 @@ curl \
> /run/pfclient_json_stats.current

if [[ -e "/run/pfclient_json_stats.previous" ]]; then

master_server_bytes_out_current="$(jq .master_server_bytes_out < /run/pfclient_json_stats.current)"
master_server_bytes_out_previous="$(jq .master_server_bytes_out < /run/pfclient_json_stats.previous)"

Expand Down

0 comments on commit 76580c7

Please sign in to comment.