Skip to content

Commit 95163c8

Browse files
authored
Merge pull request #613 from Jbaukens/patch-1
Fixes sed delimiter in TSHARK_BIN substitution
2 parents 1cae785 + 064d66e commit 95163c8

File tree

1 file changed

+1
-1
lines changed
  • docker/docker-entrypoint.d

1 file changed

+1
-1
lines changed

docker/docker-entrypoint.d/1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if [ -f /usr/local/homer/etc/webapp_config.json ]; then
8282
if [ -n "$TSHARK_UID" ]; then sed -i "s/tshark_uid/${TSHARK_UID}/g" /usr/local/homer/etc/webapp_config.json; fi
8383
if [ -n "$TSHARK_GID" ]; then sed -i "s/tshark_gid/${TSHARK_GID}/g" /usr/local/homer/etc/webapp_config.json; fi
8484
if [ -n "$TSHARK_ACTIVE" ]; then sed -i "s/tshark_active/${TSHARK_ACTIVE}/g" /usr/local/homer/etc/webapp_config.json; fi
85-
if [ -n "$TSHARK_BIN" ]; then sed -i "s/tshark_bin/${TSHARK_BIN}/g" /usr/local/homer/etc/webapp_config.json; fi
85+
if [ -n "$TSHARK_BIN" ]; then sed -i "s#tshark_bin#${TSHARK_BIN}#g" /usr/local/homer/etc/webapp_config.json; fi
8686

8787
echo "Pre-Flight provisioning completed!"
8888

0 commit comments

Comments
 (0)